maxdb->sqlstate()
maxdb->sqlstate - Returns the SQLSTATE error from previous MaxDB operation
Syntax
string maxdb->sqlstate (
resource $link)
Arguments
- link - One of the MAXDB_REPORT_XXXconstants.
Description
Procedural style:
Version
PHP PECL maxdb >= 1.0
Return value
Returns a string containing the SQLSTATE error code for the last error. The error code consists of five characters. '00000'means no error.