db2_last_insert_id(PECL ibm_db2 >= 1.7.1) db2_last_insert_id — Returns the auto generated ID of the last insert query that successfully executed on this connection Описание
   string db2_last_insert_id
    ( resource $resource      
   ) 
  Returns the auto generated ID of the last insert query that successfully executed on this connection. The result of this function is not affected by any of the following: 
 Список параметров
 
 Возвращаемые значенияReturns the auto generated ID of last insert query that successfully executed on this connection. Примеры
 Пример #1 A db2_last_insert_id() example The following example shows how to return the auto generated ID of last insert query that successfully executed on this connection. 
<?phpРезультат выполнения данного примера: Last Insert ID is : 1  | 
||