maxdb_stmt_error
Returns a string description for last statement error
Description
Procedural style:
stringmaxdb_stmt_error
resourcestmt
For the statement specified by stmt, maxdb_stmt_error
returns a containing the error message for the most recently invoked statement function that
can succeed or fail.
Return values
A string that describes the error. An empty string if no error occurred.
See also
maxdb_stmt_errno,
maxdb_stmt_sqlstate
Example
Procedural style
]]>
The above examples would produce the following output:
Error: POS(23) Unknown table name:MYCITY.
]]>