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
maxdb_prepare(3) - php
db2_next_result(3) - php
mssql_free_statement(3) - php
mssql_init(3) - php
sqlsrv_cancel(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!