Hi
Use Create Table Test
(
         ID INT NOT NULL AUTO_INCREAMENT,
         ......
);
At 08:48 18/10/2001 +0100, Dave Prout wrote:
>Hi,
>
>         I've just started with MySQL. I want my table to have a column 
> containing
>an ID which is an integer that gets incremented on each insert, just like
>Autonumber in Microsoft Access. How do I do this in MySQL ?
>
>Thanks
>
>Dave
>
>
>---------------------------------------------------------------------
>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


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