This example defines two constraint objects which together comprise a sensitivity label.
CREATE CONSTRAINT Classification_Level SMALLINT, NOT NULL, VALUES (TopSecret:4, Secret:3, Confidential:2, Unclassified:1), INSERT SYSLIB.InsertLevel, UPDATE SYSLIB.UpdateLevel, DELETE SYSLIB.DeleteLevel, SELECT SYSLIB.ReadLevel; CREATE CONSTRAINT Classification_Category BYTE(8), /* leave room for 64 categories, nulls are allowed */ VALUES (NATO:1, UnitedStates:2, Canada:3, UnitedKingdom:4, France:5, Norway:6, Russia:7), INSERT SYSLIB.InsertCategory, UPDATE SYSLIB.UpdateCategory, DELETE SYSLIB.DeleteCategory, SELECT SYSLIB.ReadCategory;