db2_conn_error

  • (PECL ibm_db2 >= 1.0.0)
  • Returns a string containing the SQLSTATE returned by the last connection attempt