Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   SQL Statements > START VIOLATIONS TABLE >

Initial Privileges on the Violations Table

When you issue the START VIOLATIONS TABLE statement to create the violations table, the database server uses the set of privileges granted on the target table as a basis for granting privileges on the violations table. The database server follows different rules, however, when it grants each type of privilege.

The following table summarizes the circumstances under which the database server grants each type of privilege on the violations table.

Privilege
Condition for Granting the Privilege
Alter
Alter privilege is not granted on the violations table. (Users cannot alter violations tables.)
Index
User has Index privilege on the violations table if the user has the Index privilege on the target table.

The user cannot create a globally detached index on the violations table even if the user has the Index privilege on the violations table (XPS only).

Insert
User has the Insert privilege on the violations table if the user has the Insert, Delete, or Update privilege on any column of the target table.
Delete
User has the Delete privilege on the violations table if the user has the Insert, Delete, or Update privilege on any column of the target table.
Select
User has the Select privilege on the informix_tupleid, informix_optype, and informix_recowner columns of the violations table if the user has the Select privilege on any column of the target table.

User has the Select privilege on any other column of the violations table if the user has the Select privilege on the same column in the target table.

Update
User has the Update privilege on the informix_tupleid, informix_optype, and informix_recowner columns of the violations table if the user has the Update privilege on any column of the target table.

(Even with the Update privilege on the informix_tupleid column, however, the user cannot update this SERIAL column.)

User has the Update privilege on any other violations table column if the user has the Update privilege on the same column in the target table.

References
The References privilege is not granted on the violations table. (Users cannot add referential constraints to violations tables.)

The following rules apply to ownership of the violations table and privileges on the violations table:

Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]