Sends a status value to the client in response to a request.
int srv_sendstatus (
SRV_PROC * srvproc,
DBINT value );
SUCCEED or FAIL.
When a request is received, a developer-supplied event handler function is called to service it. Part of the response to a request can be to return a status value.
A status value can be sent after all rows, if any, have been sent to the client with srv_sendrow and before the completion status is sent with srv_senddone. Only one status value can be sent for each set of results. This is equivalent to the Transact-SQL RETURN statement.
srv_errhandle |