MSSQL Server Encounters
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment