15.10 - SQL operations - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K
DELETE, INSERT, SELECT, UPDATE
The SQL operations that can be enforced by a constraint.
You must specify between 1 and 4 SQL operations per constraint definition. Each specified SQL operation must be followed by the SYSLIB.function_name that enforces the operation.
You cannot specify an SQL operation type more than once in a constraint.
SYSLIB.function_name
The name of the UDF that enforces the corresponding DELETE, INSERT, SELECT, or UPDATE operation for the constraint.
The specified UDF must be contained within the SYSLIB database at the time you specify it in the constraint definition.
Each UDF named in SYSLIB.function_name specifications for a constraint defines the minimum classification required to perform the associated SQL operation on each row of a table that includes the constraint.

For details, see “Implementing Row-Level Security” in Security Administration, B035-1100.