Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Web Development
Expertise: Beginner
Jun 13, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning


How can I retrieve the images that are stored in the SQL Server Database Table by using iHTML?


I, as well as many others, generally discourage storing images in a database as BLOBs (Binary Large Objects). Lots of great campfire horror stories have come from such practices.

It's usually less painful to avoid storing the images in the database and instead, use the file system. You would then store pointers to those images in the database. However, it sounds as if the deed has already been done, and the images are in the database.

Unless you permanently remove the image BLOBs from the database, you are probably going to have to extract the image BLOBs to files at run-time. Then you would write the path to the newly extracted file to the HTML page.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date