The error code returned from the SQL database.
$sqlerrcode
A number. Can be reset by an application program.
A numeric code returned from the SQL database for the last SQL statement executed. For explanation of these error codes, consult the documentation for the particular SQL server.