All my SPs have an SQLSTATE OUT parameter. However, working with MS
VB6 ADO, parameters IN have no problem, but SQLSTATE parameter OUT (in
the procedure) always returns empty. Reviewing the COMMAND object
shows that it does have an P_SQLSTATE parameter, (that's what it's
called in the stored procedure), but it is always empty.
I have tried (in the app) to define a parameter to be passed to
receive the SQLSTATE, but that is worse -- it adds an extra parameter
where not needed.
I cannot find a way to receive that parameter.
Others?
VB6 ADO, parameters IN have no problem, but SQLSTATE parameter OUT (in
the procedure) always returns empty. Reviewing the COMMAND object
shows that it does have an P_SQLSTATE parameter, (that's what it's
called in the stored procedure), but it is always empty.
I have tried (in the app) to define a parameter to be passed to
receive the SQLSTATE, but that is worse -- it adds an extra parameter
where not needed.
I cannot find a way to receive that parameter.
Others?
Comment