"Colin" <skop...@cci-maximus.com> wrote in message
news:7c6501c20281$00ac6510$35ef2ecf@TKMSFTNGXA11...
>Here is the query I am running.
E:\> bcp "EXEC database..proc_name parameter, ... "
queryout output.txt -c -Sserver_name -Uuser_name -
Ppass_word
SQL Server version is 7.0 on Windows 2000
exact error message
SQLState = S1010, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]Function
sequence error
Thanks,
Colin
"Colin" <skop...@cci-maximus.com> wrote in message
news:65e601c20285$3d9f4830$2ae2...@hosting.microsoft.com...
>.
>
What exactly is your stored procedure doing?
Is the batch file doing anything else besides bcp?
Some things to check:
1. Make sure you have SET NOCOUNT ON as the first statement.
2. Remove any print statements in the procedure.
3. No OUTPUT parameters.
Linda