Question

Possible Duplicate:
how are GUIDs generated in SQL Server?

I wonder how SQL Server 2008 GUIDs are generated? Entropy bits

Was it helpful?

Solution

Try this to get the GUID:-

SELECT NEWID()

You can refer How GUI generation works

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top