Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Null values and unique constraints
Message
From
02/05/2001 15:06:36
Jorge Haro
Independent Consultant
Juarez, Mexico
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Database management
Title:
Null values and unique constraints
Miscellaneous
Thread ID:
00502695
Message ID:
00502695
Views:
57
I've created a unique constraint for a field ( varchar(20) ) the field accepts null values, however, when I try to insert more than one row with a null value in this field, I get an error stating that I'm violating the constraint, from what I read I thought you could have as many NULL values as you wanted, and the constraint only applied to non-null values, did I misundesrstand this or am I missing something else?, I'm using SQL Server 7.0, TIA
Next
Reply
Map
View

Click here to load this message in the networking platform