On Thu, 26 Jul 2001 18:53, elias wrote:
> Hi!
>
> I want to have to fields,
> first field is the primary key and is called 'id' and is an integer,
> and i want another field of type integer to be also autoincremented...

If you are using mysql, this snippet from the manual answers your 
question:

NOTE: There can be only one AUTO_INCREMENT column per table, and it must 
be indexed.

-- 
David Robley      Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES      Flinders University, SOUTH AUSTRALIA  

   Don't play stupid with me! I'm better at it.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to