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

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
ncd1596241368722.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

Displays the attributes for a specific named constraint on a table. Use the SHOW TABLE statement to obtain unnamed constraint information. See “SHOW object.”

The HELP CONSTRAINT statement does not report information for row-level security constraints. Specify the CONSTRAINT option with a HELP SESSION request to report the constraint values associated with a session.

Required Privileges

You must own the table in which the constraint is defined or have at least one privilege on that table.

Use the SHOW privilege to enable a user to perform HELP or SHOW requests only against a specified constraint.