15.10 - Example: Logging Denials for a Row-Level Security Constraint - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)

This example logs denials when a user attempts to access any table that has the classification_category constraint, if the user does not have the OVERRIDE SELECT CONSTRAINT privilege.

     BEGIN LOGGING DENIALS 
     ON EACH OVERRIDE SELECT
     FOR CONSTRAINT classification_category;