sqlsrv_errors

Example

 mixed sqlsrv_errors ([ int $errorsOrWarnings ] ) 

Description

Returns error and warning information about the last SQLSRV operation performed.

Return Values

If errors and/or warnings occured on the last sqlsrv operation, and array of arrays containing error information is returned. If no errors and/or warnings occured on the last sqlsrv operation, NULL is returned. The following table describes the structure of the returned arrays: Array returned by sqlsrv_errors Key Description