Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
ElsKnockaert
Contributor III
Contributor III

Get Images from SQL Anywhere DB through ODBC / OLE DB

Good morning

I've tried to follow the steps of https://community.qlik.com/t5/Member-Articles/Loading-Image-files-stored-in-database-into-a-Qlik-Sen... to show the images I have in our DB in Qlik. But no luck. I'll include my steps and print screens to show you what I've done and hopefully someone can notice where I went wrong:

Data Connection works :

ElsKnockaert_1-1736929671746.png

 

 

 

Load Script results in no errors :

ElsKnockaert_0-1736929560476.png

MultiMedia_Content is a long binary in our database.

MultiMedia_Content_Type is  varchar(129) in our database and is either image/jpeg or image/bmp or image/png.

 

Result on sheet including possible filters:

ElsKnockaert_2-1736929877605.png

 

MultiMedia_Content only shows 8 results while there are 55 pictures in our DB.

ElsKnockaert_4-1736930096467.png

ElsKnockaert_7-1736930202178.png

ElsKnockaert_8-1736930222632.png

 

 

ElsKnockaert_6-1736930167126.png

 

 

Labels (1)
11 Replies
ElsKnockaert
Contributor III
Contributor III
Author

@JandreKillianRIC 

Brilliant! I used    base64_encode( ) in my SQL statement and => VICTORY! 

Thank you so much!

JandreKillianRIC
Partner Ambassador
Partner Ambassador

Amazing news!!! I dont have access to a SQL Anywhere site now to test so I was reading and reading and just thought - Lets just go with something like a convert! glad it helped!

 

Have a great day and happy building! 

Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn