Skip to content

Enhancement ibm_db_dbi feature to include Connection and Statement Error API's. #1021

@Manojkumarbyibm

Description

@Manojkumarbyibm

Problem:
ibm_db_dbi does not provide any Connection and Statement Error API's to get SQLSTATE or descriptive error message appropriate for an application error log . It has to be handled programatically. ibm_db has
ibm_db.conn_error - Retrieves the SQLSTATE for connection Error.
ibm_db.conn_errormsg - Retrieves a descriptive error message appropriate for an application error log
ibm_db.stmt_error - Retrieves the SQLSTATE for sql execution Error.
ibm_db.stmt_errormsg - Retrieves a descriptive error message appropriate for an application error log

Solution:

Kindly please introduce Connection and Statement Error API's to get SQLSTATE or descriptive error message appropriate for an application error log in ibm_db_dbi.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions