I am imppporting a text file using BCP (in sql server 2k), and I put it ina run dos command action. The action is set not to ignore failures and the program exit code for success must be zero. When I run the action, it imppports a file with some garbage characters in the file. the action does not fail, it says completed, but if you look at the log iot says:
Starting copy...
SQLState = 22001, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
122 rows copied.
Network packet size (bytes): 4096
Clock Time (ms.): total 16
how I make it translate a sqlstate=22001, nativeerror=0 from the odbc driver to an action fail in automise?