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

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

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

c++ - Convert big endian to little endian when reading from a binary file -