June 15, 2005 at 5:33 am
Hello all,
I have this design:
ID int IDENTITY PRIMARY KEY
Nr int
In the Nr-column I want unique identity numbers, OR NULL-values. How do I need to configure this column to get this done? Putting an index on this column is not enough, as it will not allow me to enter more than one row in which the Nr equals NULL.
tia
Hans
June 15, 2005 at 6:16 am
Check out this link for more info on this:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=157147#bm157159
June 15, 2005 at 7:37 am
Thank you Old Hand,
the VIEW solution will do just fine; any drawbacks known with this solution (performance or otherwise)?
Hans
June 15, 2005 at 7:56 am
I've never used this solution - though I see no reason for any drawbacks - except, perhaps, for the ugly message that could be sent back to client apps - non-technical users might not understand what's happened.
Regards
Phil
June 16, 2005 at 2:24 am
Ok Phil,
thanks again, I'm definitly going to try the view-solution then.
Admin/Moderator: consider issue closed.
regards,
Hans
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy