On Fri, Sep 07, 2001 at 10:33:07PM -0500, Deryck Henson wrote:
>
> That manual is confusing in some parts.  Like, how to make an
> auto_increment column.  how do I anyway?  My database table needs
> it.

The manual isn't perfect, but users like us sometimes submit
corrections and enhancements to help make it better.  Afterall, this
is Open Source.  :-)

To answer your question:

  CREATE TABLE foo_bar
  (
    col1    integer unsigned auto_increment primary key,
    col2    ...
  );

Hope that helps,

Jeremy
-- 
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878   Fax: (408) 349-5454   Cell: (408) 685-5936

MySQL 3.23.41-max: up 2 days, processed 42,297,388 queries (238/sec. avg)

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