Row permissions

A user with SECADM authority can create row permissions on a table by using the CREATE PERMISSION statement. The basic syntax is:

CREATE <OR REPLACE> PERMISSION [PermissionName] ON [TableName]FOR ROWS WHERE [SearchCondition] ENFORCED FOR ALL ACCESS<ENABLE | DISABLE>

In the preceding syntax, the following applies:

  • PermissionName: Identifies the name of the permission, including the explicit or implicit qualifier.
  • TableName: Identifies the name of the table on which to create the row permission. It must not be: a nickname; a created or declared global temporary table, view, alias, or synonym; a typed table; or a system catalog table.
  • SearchCondition: Identifies a condition that can be true or false for a row of ...

Get IBM Db2 11.1 Certification Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.