php man page for db2_stmt_errormsg

Query: db2_stmt_errormsg

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DB2_STMT_ERRORMSG(3)							 1						      DB2_STMT_ERRORMSG(3)

db2_stmt_errormsg - Returns a string containing the last SQL statement error message

SYNOPSIS
string db2_stmt_errormsg ([resource $stmt])
DESCRIPTION
Returns a string containing the last SQL statement error message. If you do not pass a statement resource as an argument to db2_stmt_errormsg(3), the driver returns the error message associated with the last attempt to return a statement resource, for example, from db2_prepare(3) or db2_exec(3).
PARAMETERS
o $stmt - A valid statement resource.
RETURN VALUES
Returns a string containing the error message and SQLCODE value for the last error that occurred issuing an SQL statement.
SEE ALSO
db2_conn_error(3), db2_conn_errormsg(3), db2_stmt_error(3). PHP Documentation Group DB2_STMT_ERRORMSG(3)
Related Man Pages
db2_conn_error(3) - php
db2_next_result(3) - php
db2_prepare(3) - php
mssql_free_statement(3) - php
sqlsrv_has_rows(3) - php
Similar Topics in the Unix Linux Community
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch