adi, Tuesday, August 13, 2002, 11:40:17 AM, you wrote: a> I have a mysql table with a field: a> Field name Type Allow nulls? Key Extras a> NR int(11) No Primary auto_increment
a> In table i have values for NR field: 1,2,3...50 and 888888. a> I del that line with 888888, but when i try to add a record, NR is a> automatically assigned with 888889. a> I want that value 51, but somewhere MySQL has recorded the big value. a> How to restart increment counter to start with 51? Take a look at ALTER TABLE: http://www.mysql.com/doc/en/ALTER_TABLE.html or SET: http://www.mysql.com/doc/en/SET_OPTION.html -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com --------------------------------------------------------------------- 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