1. Home
  2. Computing & Technology
  3. Databases

NOT NULL Constraints

By Mike Chapple, About.com

Definition: NOT NULL constraints in Microsoft SQL Server allow you to specify that a column may not contain NULL values. When you create a new NOT NULL constraint on a database column, SQL Server checks the column’s current contents for any NULL values. If the column currently contains NULL values, the constraint creation fails. Otherwise, SQL Server adds the NOT NULL constraint and any future INSERT or UPDATE commands that would cause the existence of a NULL value fail.
Explore Databases
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Databases
  4. Administration
  5. NOT NULL Constraints - About Databases Glossary Definition>

©2009 About.com, a part of The New York Times Company.

All rights reserved.