I have a table that has a uniqueidentifier
column only used by some of the rows.
Is it a good idea to:
- make that column nullable and make unused rows' uniqueidentifier null?
- or not make the column nullable and fill in a GUID value for all rows?
Will there be any performance difference with SELECT
queries on the uniqueidentifier column? And what about disk space? Do null values take up the same amount of space?