Answers for "value is base64 generated string sql"

SQL
1

base64 encode sql server

--String to Base64
SELECT CAST('string' as varbinary(max)) FOR XML PATH(''), BINARY BASE64

--Base64 to String
SELECT CAST( CAST( 'c3RyaW5n' as XML ).value('.','varbinary(max)') AS varchar(max) )
Posted by: Guest on November-16-2020

Code answers related to "value is base64 generated string sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language