Hi,

I would like to use AUTO_INCTRMENT on a column but 
I would like it start from zero.
Example:-
ID | Colour
------------
0  | black 
1  | white
2  | red etc...

>From my understanding of the manual, 
if insert a NULL into an AUTO_INCREMENT column, 
the next number in the sequence is inserted. 
Therefore which is start off as one. 
Unless I make the column as 
TINYINT         UNSIGNED        NOT NULL        DEFAULT 0,
then is not incrementing.

Any comment or help will be appreciated.


annalise
[EMAIL PROTECTED]


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