Yes, I know from experience, it's the best way to do it.

And if you need to get the number generated by an auto_increment column in
an insert, you can use last_insert_id() (or mysql_insert_id() with php).

> Thank you Chris with this info! This will greatly help me out, so as I see
> it now, there is absolutely no advantage to generating your own unique
> numbers manually - just let MySQL do it for you.... am I correct in this
> assumption?


---------------------------------------------------------------------
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