>Hello, what is the best way to handle record id in MySQL? Has MySQL
>some kind of automatic record id?
>if you need a record id which increments automatically, then you can use the
>int types( tiny, medium or int) with the attribute that it be unsigned and
>auto_increment like this:
>record_id mediumint unsigned not null auto_increment
>
>regards
>shane
>
Yes, but that is not a very god way to do this. Se my posted
"AUTO_INCREMENT problem in table"
/Peter
---------------------------------------------------------------------
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