I have a Base64 encoded string/image field in my SQL database. I would like to take that string and convert it to an image.
I know I need to use Convert.FromBase64String(mybase64string) and set it to a Bytes() variable.
If possible, I would like to do this in my TSQL. Could someone help me integrate this into a simple TSQL?
I'd image it would involve using a CAST/CONVERT to create a bytes data type then loading it.
Thank you in advance.