string db2_stmt_errormsg    ([ resource $stmt  ] )

db2_stmt_errormsg Returns a string containing the last SQL statement error message

stmt

A valid statement resource.