Batch Mode > Return Values:
  
Return Values:
0 – success or at least we think so.
1 – Warning: No data was returned from the command. The output file will be empty.
2 – Warning: The number of rows returned was limited to the value set by the M switch. More data was available.
3 – The specified script file as specified with the /C switch could not be found or was empty
5 – The specified output file as specified with the /F switch could not be created or opened.
7 – The ODBC Connection failed.
9 – The SQL Statement(s) failed to execute correctly.