Saturday 17 February 2018

MSSQL - How to replace null with uniqueidentifier


Watch this example on YouTube




Declare @ID as UniqueIdentifier

Select ISNULL(@ID, NewID()) As UniqueValue

No comments:

Post a Comment