"Daniel Crompton" <[EMAIL PROTECTED]> wrote:
> I have one column as an auto increment for adding numbers:
> 
> 1
> 2
> 3
> 4
> 5
> 
> If i delete row 3 then add a new row and view the results i get:
> 
> 1
> 2
> 4
> 5
> 6
> 
> As you can see 3 has been deleted and its now added 6!
> 
> Is this normal?.  How can i get it to always display numbers in this column
> in sequence.

Yes, it's normal. It's how auto_increment works on MyISAM and InnoDB tables.



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




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to