17.00 - Example: Logging Denials for a Row-Level Security Constraint - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Release Date
September 2020
Content Type
Programming Reference
Publication ID
B035-1144-170K
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;