Is it possible to have return/output variables from an anonymous block of
T-sql using ODBC.
I am able to execute a block of sql statements from ODBC. To check the
result of the
block, I need to have three counters (integers) returned in addition to an
error variable in case of failure.
I have tried to bind variables like we do for a stored procedure, but with
little success.
Program is written in C using ODBC.