I want to insert a .jpg image into SQL server using simple INSERT query.
I tried the following query in which was posted as an answer to the following question Insert Picture into SQL Server 2005 Image Field using only SQL
In my case I modified the query as follows
INSERT INTO iffcar
(name, address, idno, barcode, Photo)
SELECT 'ishan', 'hohn', 100, 'barcodedmessage', BulkColumn
FROM OPENROWSET(BULK 'c:\use.jpg', Single_Blob) AS iffcarPicture
now I am getting the error as
My table structure is as follows
Please help me to resolve the error.