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

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
ft:locale
en-US
ft:lastEdition
2021-07-27
dita:mapPath
spp1591731285373.ditamap
dita:ditavalPath
spp1591731285373.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

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;