I have tried lots of different solution methods but none of them has solved my problem yet. I just want to run a query and export the result containing the FileData (image) field to an Excel file. I also tried to use some external add ons, but not succeeded.
Please note that I do not want to export image files, instead want to obtain image data on the exported Excel file.
Update : I have a table called FileAttachments and assume that there is 2 columns : Id, FileData (image column). So, I retrieve the result simply this query:
SELECT * FROM FileAttachments
And then I obtain the FileData fields as string of the image.