Monday, March 18, 2013

Quick Tips: generate GUID in Sql Server

GUID Using SQL Server

You can generate a GUID using SQL Server. All you need to do is open SQL Server Query Analyzer and execute following T-SQL statement:
 SELECT newid()
This statement generates a new GUID and displays it in the output window.

No comments: