Been asked to set up a package to execute a process task to take a bcp cmd. The command I was given (tested through command line) as follows:
database.dbo.table out d:\temp\filename.tsv -T -S IPaddress -f d:\temp\filename.fmt -d dbName -c -r '0x0A'
I typed the full path to the executable in the Executable field and the above statement into the Arguments field in the Process Task Editor. When I execute the package, I get the following error:
BCP Task:Error: In Executing "D:\Program Files\Microsoft
SQL Server\Client SDK\ODBC\130\Tools\Binn\bcp.exe"
"database.dbo.table out d:\temp\filename.tsv -T -S IPAddress -f d:\temp\filename.fmt -d dbName -c -r '0x0A'" at "",
The process exit code was "1" while the expected was "0".
Not sure what I'm missing, but I'm wondering if it has something to do with the format of the -r switch. Any help would be appreciated.