I am updating my database to have a column for a GUID for each record in a table.
This table is populated by several different sources and some of them will not provide a GUID for new records.
How can I populate this column with a newid() on the DB side only if there was no value passed in for a new record?
NEWID()
?