Page 1 of 1

retrieving auto_inc upon insertion

Posted: Tue Jul 27, 2004 2:37 pm
by magicrobotmonkey
If I'm inserting a row where one of the fields is an auto_increment, is there a way to retrieve said number without an additional query? I think this is really simple and my brain's craping out...

Posted: Tue Jul 27, 2004 2:40 pm
by feyd

Posted: Tue Jul 27, 2004 3:19 pm
by magicrobotmonkey
I knew it was simple! Thanks