CREATE CONSTRAINT SQL Statement | Teradata Vantage - CREATE CONSTRAINT - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

Creates the SQL row-level security constraint definition and associates it with specific UDFs to enforce that constraint.

Before creating a constraint you must:

  • Design the classification system that defines the set of name:value pairs that must be specified for the constraint.
  • Create the UDFs that enforce the constraint, which you must specify for SYSLIB.function_name.

Required Privileges

You must have the CONSTRAINT DEFINITION privilege to create a row-level security constraint.

Privileges Granted Automatically

None.