db2_stmt_errormsg(3) php man page | unix.com

Man Page: db2_stmt_errormsg

Operating Environment: php

Section: 3

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_prepare(3) - php
mssql_free_statement(3) - php
odbc_prepare(3) - php
sqlsrv_free_stmt(3) - php
sqlsrv_has_rows(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
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