I have read many of the posts about retrieving image data from a table but I must be missing something.
I have a table with invoices stored as PDF image data. I now have to retrieve the binary invoice data and write it to a PDF file so it can be read with Adobe Reader or send via email.
How do I go about achieving this using TSQL ? Or do I have to use CLR (of which I'm not sure yet what that is).
The sample.jpg shows an example of the stored data.