PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

fbsql_list_dbs> <fbsql_hostname
Last updated: Fri, 18 Jul 2008

view this page in

fbsql_insert_id

(PHP 4 >= 4.0.6, PHP 5)

fbsql_insert_id — restituisce l'id generato dalla precedente operazione di INSERT

Descrizione

int fbsql_insert_id ([ resource $ link_identifier ] )

La funzione fbsql_insert_id() restituisce l'ID generato per una colonna definita come DEFAULT UNIQUE da una precedente query INSERT eseguita sulla connessione link_identifier . Se non si specifica link_identifier si assume l'ultimo link aperto.

fbsql_insert_id()restituisce 0 ise la precedente query non ha generato campo impostati a DEFAULT UNIQUE. Se si desidera salvare il valore per usi futuri, occorre essere sicuri di eseguire fbsql_insert_id() immediatamente dopo la query che genera il valore.

Nota: Il valore restituito dalla funzione fbsql_insert_id() di FrontBase SQL contiene sempre il più recente valore DEFAULT UNIQUE prodotto, e non viene azzerato tra le query.



add a note add a note User Contributed Notes
fbsql_insert_id
There are no user contributed notes for this page.

fbsql_list_dbs> <fbsql_hostname
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites