Hi,

Your problem is a common mistake made by those who don't read the manual.

http://www.mysql.com/doc/R/e/Reserved_words.html

as described in the above web-page, "describe" is a reserved word.

Regards,
Jorge

MySQL Development Team
For technical support contracts, go to https://order.mysql.com/

    __  ___     ____ __   __
   /  |/  /_ __/ __/ __ \/ /   Jorge del Conde <[EMAIL PROTECTED]>
  / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
 /_/  /_/\_, /___/\___\_\____/ Mexico City, Mexico
        <___/

----- Original Message -----
From: "Matt "TrollBoy" Wiseman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 06, 2001 4:52 PM
Subject: Table Creation woes


> can someone tell me what I'm doing wrong here?    I keep getting the error
> "You have an error in your SQL syntax near 'describe text, fulltext text,
> section VARCHAR (32) DEFAULT '0', type VARCHAR' at line 6" and I don't
> understand why:
>
> CREATE TABLE article(
> id INT (4) DEFAULT '0' NOT NULL AUTO_INCREMENT,
> title VARCHAR (128) DEFAULT '0',
> logosmall VARCHAR (128) DEFAULT '0',
> logolarge VARCHAR (128) DEFAULT '0',
> describe text,
> fulltext text,
> section VARCHAR (32) DEFAULT '0',
> type VARCHAR (32) DEFAULT '0',
> PRIMARY KEY(id),
> UNIQUE(id)
> );
>
>
>
>
> ---------------------------------------------------------------------
> 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