sql.image for paginated reports (base 64 to varbinary)

PHOTO EMBED

Thu Jan 11 2024 14:55:30 GMT+0000 (Coordinated Universal Time)

Saved by @rick_m #sql

[image]=cast(Replace([image],'data:image/jpeg;base64,','')as xml).value('xs:base64Binary(.)', 'varbinary(max)')
content_copyCOPY

set of data for images that was encoded into base64 but also had this data:image/jpeg;base64, in front of it. PowerBi likes this, Paginated reports does not. See link on how to use binary column value

https://www.rohittechvlog.com/2019/09/display-database-images-in-ssrs-report.html