Created
February 10, 2016 16:33
-
-
Save bbrown/304002c434f2b2db813c to your computer and use it in GitHub Desktop.
Create GUID, remove dashes, and lower case in T-SQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT LOWER(REPLACE(NEWID(),'-','')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment