db2_last_insert_id

  • (PECL ibm_db2 >= 1.7.1)
  • Returns the auto generated ID of the last insert query that successfully executed on this connection