New Transact SQL Video Tutorial: Should I use a Check Constraint or a Foreign Key - Best Practices and Design (SQL Server 2000)
Should I use a Check Constraint or a Foreign Key - Best Practices and Design (SQL Server 2000) - view details
This video uses a few simple examples, working with States/Regions and Genders as the discussion points, to highlight when you should/would use a CHECK constraint or a FOREIGN KEY to solve a simple problem. This video is more of a database design video and is very helpful for anyone working with CHECK constraints with literal values embedded in the filter expression.Note: This video was shot on SQL Server 2000 but the concepts are the same SQL Server 2005
Highlights from this video:
- DDL syntax for creating foreign keys and check constraints
- Logical reasons to use each type of constraint
- Best Practices for design
- Constraint naming conventions
- Normalization topics: How Normalized Should a Database Be for Practical Reporting?
This video was a request from one of our subscribers. Do you have any video requests? We'd love to hear from you - visit our Contact Us page and submit it today!
- Category: Table Design - Datatypes, Constraints, IDENTITY Columns, Normalization, and More
- Skill Level: 300 (Intermediate)
- Length: 12:00 (6.08MB)
- Applies to Versions: SQL Server 2000
- Full Details
To download this video, log in, then visit the video's detail page and click "download". This is a subscriber-only video so a subscription is required
Note: You must have the TSCC codec installed to view this video

0 Comments:
Post a Comment
<< Home