SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

SQL FOREIGN KEY CONSTRAINT Syntax

You can enforce referential integrity (ensure you don't get orphans) by adding Foreign Key Constraint and in this tutorial you can find a simple example explaining how to do that. This article has been created to support our SQL Tutorial and 70-461 Querying SQL Server 2012.

Katie and Emil

We are Katie & Emil and together we have decided to learn more & more on how to build data warehouses using Microsoft products. The best option to learn is to teach so we write tutorials and share it with others.

Comments

Leave a comment on the original post [www.katieandemil.com, opens in a new window]

Loading comments...