Forum Replies Created

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

  • RE: passing variable in OPENROWSET

    The single quote is shown in the output, that is where I am stuck and do not know how to get rid of that single quote (database ='E:\......)

  • RE: passing variable in OPENROWSET

    Actually I just made my query little simple to test if its working. but still i am getting the errors below

    ---------code------------

    USE AVME

    Declare @SQL nvarchar(MAX)

    Declare @docpath nvarchar(MAX)

    Set @docpath = N'E:\Workflow\SPP\Attachments\ModelCodes\claim.xls'

    Set @SQL...

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