Skip to content

Instantly share code, notes, and snippets.

@bbrown
Created February 10, 2016 16:33
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save bbrown/304002c434f2b2db813c to your computer and use it in GitHub Desktop.
Save bbrown/304002c434f2b2db813c to your computer and use it in GitHub Desktop.
Create GUID, remove dashes, and lower case in T-SQL
SELECT LOWER(REPLACE(NEWID(),'-',''))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment