Member of the LearnItFirst.com Video Training Network Related Video Training Sites: · SQL Server DBA Tutorials · Integration Services Training
   
Transact-SQL Programming and Query Writing
                        Training Videos

Transact-SQL Programming and Query Writing Tutorial: Using Defaults to Avoid Using NULLs in Your Database (SQL Server 2000)

   Chapter: Table Design - Datatypes, Constraints, IDENTITY Columns, Normalization, and More
Download! Skill Level: 200 (Beginner - Intermediate)
Duration: 9:06
Size: 5.07MB
Versions/Editions Covered: SQL Server 2000
Added/Updated: Apr 18, 2006

Download this video
There seems to be two camps with respect to database design in SQL Server with respect to NULLs in the database: one group believes that NULLs are unnecessary and should not be allowed in the database while the other sort of shrugs their shoulders and says, "I'll use NULLs if it makes sense to use NULLs."; in other words, they don't go out of their way to avoid NULLs.

This video shows you how you can design your tables so that the columns do not have to allow NULLs using a Gender and Address1/Address2 example.

Highlights from this video:

  • Address schemes in the database
  • DDL syntax for DEFAULT constraints
  • DDL syntax for ALTER TABLE
  • How IDENTITY columns work internally in SQL Server
  • How defaults apply to columns that allow NULLs

Tags for this video: @@identity identity null scope_identity  
< Back Download this video
AddThis Social Bookmark Button
People Who Downloaded this Video Also Downloaded:
TitleSkillDownload
Subqueries, Nested Queries, and Derived Tables - An Introduction to Advanced SQL... 300 Download
Constraint Keys, Index Keys, Composite Keys, Natural keys, and Surrogate Keys 200 Download
When to Use HAVING Instead of WHERE - Aggregates, GROUP BY, and the HAVING Claus... 300 Download
Query Analyzer - Beyond the Basics (SQL Server 2000) 200 Download
JOINs - An Overview of the Five Types of JOINs (Cross, Outer, and Inner) 200 Download

About the Instructor:

Scott Whigham Scott Whigham is the founder of LearnItFirst.com, one of the web's most extensive video training libraries focusing on technical training. Scott is also an experienced consultant, trainer, and author with more than a decade of hands-on experience working with SQL Server databases, writing and debugging applications using Visual Studio, and performance tuning. Scott designed the architecture (websites, class libraries, and database) for the LearnItFirst.com websites and, most re... (Scott Whigham's full bio can be found on the About the Author page)

   
 
About Us Video Playback Subscriptions More Video Training More
 
© Copyright 2004-2008 LearnItFirst.com LLC. All rights reserved. All trademarks remain the property of their respective owners. This site is not affiliated in any way with the Microsoft Corporation. Refer a Friend and Get a Free Subscription!
 
1/6/2009 8:03:41 PM