Hi I tried to update an image in a varbinary
column with the following example How to insert a blob into a database using sql server management studio
Yet to do a select after doing update the varbinary
column is blank, any idea why this happens?
UPDATE digital_files
SET digital_file = (
SELECT *
FROM OPENROWSET( BULK N'C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 6.0.26\bin\celebrity-pictures-spongebob-patrick-meth-that.jpg',
SINGLE_BLOB) AS IMAGE)
WHERE digital_id = 1