I’ve successfully followed the examples on the forum to upload an image into an SQL database then I am trying to retrieve the saved image from database and show it in image component in perspective. I tried different ways but none of them seems working. In db dataType is varbinary(Max).
I am trying;
SELECT CAST(’’ as xml).value(‘xs:base64Binary(sql:column(“file_stream”))’, ‘varchar(MAX)’) from
Files where name =‘Photo.png’