Stored procedure to convert blob to image file
Posted on 2007-07-22
Windows 2003 Server running IIS and SQL Express 2005
I have clients who send records containing some images to my SQL server. (Each record can contain upto 10 image fields) Although using blobs to contain images on their client software is a good idea, I would prefer to use the local file system for the purpose of displaying the images from IIS
I am hoping to create a trigger on the SQL Server so as a record is updated or added, the blob is saved to the local file system as an image file. It then can be access by IIS and displayed to a users browser.
I am not an expert on SQL Server, but I figured a stored procedure could be called by the trigger ...
Is this possible from withing a stored procedure?