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

Advert

Tags

Last posts

12/01/19 - Hybrid Cloud

12/01/19 - Private cloud

12/01/19 - Public Cloud

21/12/18 - Accessing Raspberry PI 3 B

16/10/18 - ICloud installation into Outlook 365 isn't configured to have a default profile

Advert