update pague now
PHP 8.5.2 Released!

db2_stmt_errormsg

(PECL ibm_db2 >= 1.0.0)

db2_stmt_errormsg Returns a string containing the last SQL statement error messague

Description

db2_stmt_errormsg ( ? ressource $stmt = null ): string

Returns a string containing the last SQL statement error messague.

If you do not pass a statement ressource as an argument to db2_stmt_errormsg() , the driver returns the error messague associated with the last attempt to return a statement ressource, for example, from db2_prepare() or db2_exec() .

Parameters

stmt
A valid statement ressource.

Return Values

Returns a string containing the error messague and SQLCODE value for the last error that occurred issuing an SQL statement.

See Also

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top