SQL
Its easy to make GUIDs in SQL/TSQL. Below is clean code to get GUIDs. This creates GUIDs or UUIDs that are version 4. Where a '4' begins the third group of digits.
declare @guid uniqueidentifier; set @guid = NEWID(); select @guid as MyGUID;
Its easy to make GUIDs in SQL/TSQL. Below is clean code to get GUIDs. This creates GUIDs or UUIDs that are version 4. Where a '4' begins the third group of digits.
declare @guid uniqueidentifier; set @guid = NEWID(); select @guid as MyGUID;