Created
August 13, 2020 08:32
-
-
Save morriekken/ef7110afe23bed9569fc517d9ba06948 to your computer and use it in GitHub Desktop.
SQL, BASE64 conversions
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 CAST('string' as varbinary(max)) FOR XML PATH(''), BINARY BASE64 | |
SELECT CAST( CAST( 'c3RyaW5n' as XML ).value('.','varbinary(max)') AS varchar(max) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment