I have a table like below
IMAGEID COVERPAGEIMAGE IMAGENAME
------------------------------------------------
LME111201908576 0x89504E470D0A1... NULL
I want to convert all the COVERPAGEIMAGE
is of varbinary(max)
datatype to a png/jpeg image and update the name in IMAGENAME
using a SQL query.
The table includes almost 10000 rows of data. I couldn't find a faster way to do it yet any help or guidance would be appreciated.