sql - What GUID can I use as a placeholder -


i have database table has non null column of type uniqueidentifier. put in place use in near future. now, need use placeholder. can use:

00000000-0000-0000-0000-000000000000 

for rows until real guid used when new rows inserted in future? sql server enforce uniqueness on column?

sql server enforce uniqueness, if , if you put unique constraint or unique index on field. otherwise, sql server enforce value must not null.


Comments

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -