17.10 - UNIQUE Constraint Attributes - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

Advanced SQL Engine
Teradata Database
Release Number
July 2021
English (United States)
Last Update

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.

UEscape VARCHAR(1) Yes