I have an image stored in a table as a base64 encoded string. I have to convert it to a hexadecimal format and copy the value into another table. So i am looking for a way to do this in SQL
I tried it like this, but it did not work (I tested the result using an online converter)
select
cast(cast(@base64value as varchar(max)) as varbinary(max))
To clarify i want to convert base 64 to hexadecimal.