How do I receive a value that is returned by the stored procedure from SQL
6.5 in my C++ application using ADO. I'm not talking about the recordset
(data) but the return value from the stored proc.
Also, how do I trap errors in a stored proc. For example if my stored proc
has a number of sql commands and one of them fails, I'd like to trap it and
return the error and return an error number.
Thanks,
Haresh