Last active
August 18, 2021 13:30
-
-
Save saostad/daf00bf55e020e311066e610fd312be2 to your computer and use it in GitHub Desktop.
How to decode base64 columns inline with T-SQL query
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 convert(varchar(max),cast(N'' as xml).value('xs:base64Binary(sql:column("MBAMPolicy.EncodedComputerName0"))', 'VARBINARY(MAX)')) AS [Computer Name] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment