Detach from a Protected Table

If a successfully executed DETACH clause specifies a table that is protected by a security policy, the database server creates a new table that is protected by the same security policy.

If the original table has both row-level and column-level protection,
  • the new table has the same IDSSECURITYLABEL column, and the same label, for row-level security,
  • and the same set of protected columns secured by the same labels as the original table for column-level protection.
For tables with row-level protection, the IDSSECURITYLABEL column has a NOT NULL constraint by default. Only a user who holds the DBSECADM role can reference a protected table in the ALTER FRAGMENT statement.