Thread last_insert_id (2 answers)
Opened by rosti at 2011-10-05 20:47

pq
 2011-10-05 20:52
#152894 #152894
User since
2003-08-04
12207 Artikel
Admin1
[Homepage]
user image
sowohl LAST_INSERT_ID als auch $dbh->last_insert_id ist sicher. auf jeden fall bei DBD::mysql.
der wert bezieht sich auf deine session.

nur bei treibern, die diese funktion mit select(max) emulieren, muss man eine transaktion drumherumpacken.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread last_insert_id