Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Allow NULL?
Message
 
 
To
01/01/2007 22:53:51
General information
Forum:
Microsoft SQL Server
Category:
Database design
Title:
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01181276
Message ID:
01181280
Views:
7
If columnd does not accept NULLs it should be defined with NOT NULL constraint. Setting DEFAULT constraint does not prevent inserting NULL in the column.

>Should I make sure of NULL/NOT NULL constraint? Or, any comment if I set all non-mandatory fields as NULL with default constraint ('')/(0)?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform