J.C.,
Thursday, November 21, 2002, 10:20:06 AM, you wrote:

JCK> if you use the following command in mysql:

JCK> CREATE TABLE somedb.group(mip INT (8) UNSIGNED DEFAULT '0' NOT NULL
JCK> AUTO_INCREMENT, name CHAR (255), PRIMARY KEY(mip), UNIQUE(mip), INDEX(mip))

JCK> Where somedb is the database name and group was the intended group, you can
JCK> create a table called 'group'.

JCK> Problem: Access to the table 'group' i.e. by using SELECT * FROM group; will
JCK> cause problems.

JCK> Solution: Mysql should prevent the creation of this table!

JCK> (It will be hard to remove your just created table, but I found out you can
JCK> do it by typping: DROP TABLE somedb.group;)

GROUP is a reserved word in MySQL:
      http://www.mysql.com/doc/en/Reserved_words.html




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




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