Blog Post

SQL Generate new Guid

Friday, September 11, 2015 1:55 AM

I need to create new unique guid for each stored procedure . I was not sure about the command.

 

SELECT NEWID()

 

Link to MSDN : https://msdn.microsoft.com/en-us/library/ms190348(v=sql.105).aspx

This is command is supported in sql 2005 and newer

Related articles by tags

Advert

Last posts

Advert