FOREIGN KEY
Description
Syntax in SQL Server
FOREIGN KEY
( column [ ,...n ] )
REFERENCES referenced_table_name [ ( ref_column [ ,...n ] ) ]
[ ON DELETE { NO ACTION | CASCADE | SET NULL | SET DEFAULT } ]
[ ON UPDATE { NO ACTION | CASCADE | SET NULL | SET DEFAULT } ]
[ NOT FOR REPLICATION ]Syntax in Snowflake
Sample Source Patterns
SQL Server
Snowflake
Known Issues
Related EWIs
Last updated
