TABLE CONSTRAINTS

From InterBase
Jump to: navigation, search

Go Up to System Views


TABLE_CONSTRAINTS identifies all constraints defined in a database.

TABLE_CONSTRAINTS
Column name Datatype Length Description

CONSTRAINT_NAME

CHAR

67

Unique name for the constraint; nullable

TABLE_NAME

CHAR

67

Table for which the constraint is defined; nullable

CONSTRAINT_TYPE

CHAR

11

Possible values are UNIQUE, PRIMARY KEY, FOREIGN KEY, and CHECK; nullable

IS_DEFERRABLE

CHAR

3

Reserved for future use; always set to No; nullable

INITIALLY_DEFERRED

CHAR

3

Reserved for future use; always set to No; nullable