Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)

  • RE: Using Variable in Openrowset

    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

    GO

    create PROC [dbo].[insert2img]

    as

    Begin

    Declare @img1 as varbinary(max) --Declare...

  • RE: Using Variable in Openrowset

    Thanks

    Balaji

  • RE: Using Variable in Openrowset

    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 ...

Viewing 3 posts - 1 through 3 (of 3 total)