At 8:12 +0000 1/31/03, Jonathan Bedford wrote:
Hi

When creating a table can you use multiple Table_Options?

The O'Reilly "Managing & Using MySQL" show on page 288 a table been created
with two options "...)AUTO_INCREMENT = 1, TYPE=InnoDB;"
The comma should be omitted.  You can specify multiple table options, but
you simply list them one after the other, separated by whitespace.


...) AUTO_INCREMENT = 1 TYPE = InnoDB;

(Note that this particular combination of options is a little strange.
You cannot set the initial AUTO_INCREMENT value explicitly for an InnoDB
table.  The initial value will be 1, but then there is little need for
the AUTO_INCREMENT option in the example.)

But the MySQL manual says "or":-

table_options:
	TYPE = {BDB | HEAP | ISAM | InnoDB | MERGE | MRG_MYISAM | MYISAM }
or	AUTO_INCREMENT = #
.....

Thanks
  Jonathan

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