> The manual has all the necessary information:
> http://www.mysql.com/doc/C/R/CREATE_TABLE.html
> http://www.mysql.com/doc/e/x/example-AUTO_INCREMENT.html
>
> The unofficial FAQ has a chapter on AUTO_INCREMENT:
> http://www.bitbybit.dk/mysqlfaq/faq.html#ch6_0_0
>
> What you're looking for is probably LAST_INSERT_ID(),
> but I'll let you find it yourself. Oops, now I told you. :-P
>
> //C

His language might also have a function for it.

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to