devxlogo

Quickly Generate a GUID Using SQL Server

Quickly Generate a 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.

devx-admin

Share the Post: