• Steve Jones - SSC Editor (6/23/2015)


    bcp isn't in the path on the server. The server service account (or xp_cmdshell proxy) is calling bcp, but can't find it.

    Get the path on the server to bcp.exe and put the full path in the call.

    BCP is normally automatically installed in a file path where SQL Server can find it when SQL Server is installed. Something else is going on here.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)