2.2.2.4 Return Status

When a stored procedure is executed by the server, the server has to return a status value. This is a 4-byte integer and is sent via the RETURNSTATUS token. A stored procedure execution is requested through either an RPC Batch or SQL Batch message. For additional information, see section 2.2.7.16.