Stored procedure -> DOS Batch file -> OSQL -> SP communication. -
04-25-2005
, 01:58 AM
Hello,
How can I achieve the following?
Have a batch file that will get executed from a stored procedure using
xp_cmdshell.
The batch file will call another stored procedure using OSQL.
The stored procedure (after its processed the data) returns a number.
Further process flow in the batch file will depend on the value of the above
number.
How can I trap the return value from the stored procedure in the batch file?
Cheers!
SQLCatZ |