To get a random unique value in SQL Server, we use NEWID function.
NEWID
SELECT NEWID()
Every execution of the above stamen gives a new unique value.
Write for us
Hosting Recommendations