Viewing 3 posts - 1 through 3 (of 3 total)
Hi,
Here is the code what i used to execute successfully,
Please have the Image column at the last in insert query,
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
create PROC [dbo].[insert2img]
as
Begin
Declare @img1 as varbinary(max) --Declare...
September 18, 2009 at 5:46 am
#1055517
Thanks
Balaji
March 20, 2008 at 1:18 am
#791868
Actually i got the following errors like
Incorrect syntax near '@filename'.
For inserting images in to database i used the following code
BulkColumn from Openrowset( Bulk 'F:\Images\picture005.jpg', Single_Blob) as tt ...
March 14, 2008 at 11:16 pm
#789961