16.20 - UNIQUE Constraint Attributes - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
Language
English (United States)

The following table lists the attributes reported as the result of a HELP CONSTRAINT request for a unique constraint. You can also issue a HELP CONSTRAINT against an index, which the system considers as a constraint.

Attribute Data Type Nullable Description
Name VARCHAR(30) No The name of the constraint about which HELP information is being reported.
Type VARCHAR(35) No The type of constraint.

PRIMARY INDEX specifies that the constraint is a primary index.

Other values that include VALIDTIME and TRANSACTIONTIME refer to constraints on temporal tables.

See Teradata Vantage™ ANSI Temporal Table Support , B035-1186 and Teradata Vantage™ Temporal Table Support , B035-1182 for information about constraint types for temporal tables.

Unique CHARACTER No Reports whether the index or constraint is unique.
  • Yes indicates the constraint or index is unique
  • No indicates that the constraint or index is not unique
Index ID SMALLINT No Internal identifier for the index assigned by the system, which implements unique constraints as indexes.
Column Names VARCHAR(512) No Lists the names of columns for the constraint.
The system converts each column name, including substitution characters, to its full length. If the constructed list of column names exceeds the maximum length of the Column Names field, the list is truncated after the last comma separator that can fit within the field.
Dictionary Name VARCHAR(128) No The attributes shown in this section are derived from and supersede the corresponding older Name attribute, while providing additional functionality.

The Name attribute is retained for compatibility with existing applications.

For details on the new attributes, see Object Name and Title Data in HELP Reports.

SQL Name VARCHAR(644)
UEscape VARCHAR(1) Yes