The ADD SET Clause
A security label component of type SET is an unordered set of no
more than 64 elements. The order in which the elements of a SET component
are declared is not significant. The set of elements of the array
and their comma separators must be enclosed between a pair of braces
( { ... }
) symbols. The same new element cannot
be declared more than once in the same ADD SET clause.
The following example defines a type SET security label component
called departments that is an unordered set of three elements,
called Marketing, HR, and Finance, which the
ALTER SECURITY LABEL COMPONENT statement modifies by adding three
new elements called Training , QA, and Security:
CREATE SECURITY LABEL COMPONENT departments SET { 'Marketing', 'HR', 'Finance' }; ALTER SECURITY LABEL COMPONENT departments ADD SET { 'Training', 'QA', 'Security' };Unlike ADD ARRAY or ADD TREE specifications, ADD SET operations of ALTER SECURITY LABEL COMPONENT do not create "greater than" or "less than" data-sensitivity relationships among the new and existing elements of the redefined component, because the elements of a type SET component have no implicit order of data sensitivity.