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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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