Forum Replies Created

Viewing 15 posts - 226 through 240 (of 348 total)

  • RE: SSIS : how to use variable in update statement

    Yes I am working from Visual studio.

    Yes I can connect to all servers using SSMS form the source server where my package is being run in Visual studio.

  • RE: SSIS : how to use variable in update statement

    Hi John & All,

    I tested the following.

    Had only 1 server along with this statement :

    update tableA set filepath = ?

    This statement ran successfully for only 1 server(ServerA).The related tableA in...

  • RE: SSIS : how to use variable in update statement

    Yes,I do have access to the other server.Tested and tried.

  • RE: SSIS : how to use variable in update statement

    I have checked it and cant seem to understand.Anysuggestions please.

  • RE: SSIS : how to use variable in update statement

    I am able to connect,buthe update works only the first time the update statement runs i.e only for the first server value in the User:serverlist variable.

  • RE: SSIS : how to use variable in update statement

    This is my update statement:

    I have tried these 2 statements as underneath.

    update dbo.BackupDeviceInfo

    set filepath = 'C:\ABCDEF\' +'?'

    update SMSPHcdb.dbo.BackupDeviceInfo

    set filepath = 'C:\ABCDEF\' +?

    The update statement works on the first...

  • RE: SSIS : how to use variable in update statement

    This is my update statement:

    I have tried these 2 statements as underneath.

    update dbo.BackupDeviceInfo

    set filepath = "C:\ABCDEF\" +"?"

    update dbo.BackupDeviceInfo

    set filepath = "C:\ABCDEF\" +?

    My parameter mapping under Execute SQL editor...

  • RE: SSIS : how to use variable in update statement

    This is my update statement:

    I have tried these 2 statements as underneath.

    update dbo.BackupDeviceInfo

    set filepath = 'C:\ABCDEF\' +'?'

    update SMSPHcdb.dbo.BackupDeviceInfo

    set filepath = 'C:\ABCDEF\' +?

    The update statement works on the first...

  • RE: SQL Date column issues in query

    The above code is part of an SSRS report.After setting variables properly it is still not filtering data based of the date column.

  • RE: SQL Date column issues in query

    oops...thanks ... feel stupid now.Thanks anyway !

  • RE: SQL in SSIS

    That is already included in the Connection manager.But that dynamic server name change is not getting into the execute sql task and hence

    The execute sql task(update sql) is not updating...

  • RE: SQL in SSIS

    I did that and it worked for me.But the update is working only on the source server where I am running this package.The update needs to run across all servers.What...

  • RE: SQL in SSIS

    .

  • RE: SQL in SSIS

    It still shows an error.There were errors during task validation and the Execute SQL task editor has not turned green.It displays with a red cross mark.

    What are the following values...

  • RE: SQL in SSIS

    This is the update statement.

    "update [ABCD].[dbo].[Table]

    set filepath='\\\\abc002\users\myuser\myfolder\\" + @[User::currentserver'] + "'"

    [Execute SQL Task] Error: Executing the query ""update [ABCD].[dbo].[Table]

    set ..." failed with the following error:...

Viewing 15 posts - 226 through 240 (of 348 total)