11111
maxdb_stmt_errno
(PECL)maxdb_stmt_errno
(no version information, might be only in CVS)maxdb_stmt->errno -- Returns the error code for the most recent statement call
Procedural style :int maxdb_stmt_errno (resource stmt)
Object oriented style (property):class stmt {
int errno
}
- For the statement specified by stmt, maxdb_stmt_errno()
returns the error code for the most recently invoked statement function that can succeed or fail.
Замечание:
For possible error codes see documentation of SQLDBC:
Пример 2. Procedural style
|
- The above examples would produce the following output:
Warning: maxdb_stmt_execute(): -4004 POS(23) Unknown table name:MYCITY [42000] <...> |
maxdb_stmt_data_seek
maxdb_stmt_error 22222