Redshift Foreign Key Constraint and Syntax
Redshift foreign key constraint is informational only; they are not enforced by Amazon Redshift. Amazon data warehouse appliance supports referential integrity constraints such as Redshift primary key, foreign key, and unique keys as part of SQL-92 standard requirement. You can create foreign key constraint while creating tables in Redshift database but it will not be enforced while loading Redshift tables. Redshift query planner uses these constraints to create better query execution plan. Read: Amazon Redshift Primary Key Constraint and Syntax Redshift Unique Key Constraint and Syntax Redshift Foreign Key Constraint…