update : 2015.11.03
php.shukuma.com검색:
|
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. 예제
Example #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 |