UNIQUE Constraint Attributes - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-07-11
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1184
lifecycle
latest
Product Category
Teradata Vantage™

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