Wednesday, November 30, 2016

Unique ID generation

In SQLServer, the the function newid() can be used for Unique ID generation as given below:

select newid(), a.* from tab1 a;



No comments:

Post a Comment