Base64_To_String
Converts Base64 data to a non-unicode varchar String
- Free Function
- SQL Server Compatibility: 2008, 2012, 2014, 2016, 2017
SELECT SQLHTTP.net.Base64_To_String ( @Base64 )
Name | Type | Description |
---|---|---|
@Base64 | varchar(MAX) | Base64 data string |
varchar(MAX)
1 2 3 4 5 6 |
DECLARE @Text varchar(MAX) SET @Text = 'VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZw==' SELECT SQLHTTP.net.Base64_To_String(@Text) |
1 2 3 4 |
----------------------------------------------- The quick brown fox jumps over the lazy dog |