4D v14

table_constraint

Home

 
4D v14
table_constraint

table_constraint  


 

 

Command table_constraint{primary_key_definition | foreign_key_definition}

A table_constraint restricts the values that a table can store. You can either pass a primary_key_definition or a foreign_key_definition. The primary_key_definition sets the primary key for the table and the foreign_key_definition is used to set the foreign key (which matches the primary key of another table).

 
PROPERTIES 

Product: 4D
Theme: Syntax rules

 
SEE ALSO 

CREATE TABLE
foreign_key_definition
primary_key_definition

 
ARTICLE USAGE

4D SQL Reference ( 4D v11 SQL Release 4 )
4D SQL Reference ( 4D v14)
4D SQL Reference ( 4D v12.1)
4D SQL Reference ( 4D v13.4)
4D SQL Reference ( 4D v14 R2)
4D SQL Reference ( 4D v14 R3)
4D SQL Reference ( 4D v14 R4)