Using variable in Execute Process task

  • Hello Friends,

    I am trying to implement BCP functionality using Execute Process Task.

    This is the scenario.

    I am reading the name of the table which has to be exported to a text file from a table and storing it in a variable.

    I have configured the Execute process task as follows.

    Executable: BCP.exe

    Arguments: @Source_Table out D:\Department.txt -c -T [@Source_Table variable has the name of the table which has to be exported]

    Success value: 1

    I am not really sure if i would have to select StandardInpurVariable or StandardOutputVariable.

    Please help me on this.

  • Duplicate post. Please refer to the following original thread with the solution:

    http://www.sqlservercentral.com/Forums/Topic1094033-364-1.aspx

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

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

You must be logged in to reply to this topic. Login to reply