I believe the ENUM-length is faulty!
It should be somthing like this:
have_vote ENUM("yes", "no"),
Check the manual:
http://www.mysql.com/doc/E/N/ENUM.html
\d
-----Original Message-----
From: Syed sumair [mailto:[EMAIL PROTECTED]]
Sent: den 1 juni 2001 01:11
To: MySQL List
Subject: What is the error in this sql query
What is the error in this sql query ???
_________________________________________
CREATE TABLE page(
page_ID INT (9) UNSIGNED DEFAULT '0' NOT NULL AUTO_INCREMENT,
relative_path VARCHAR (200) Not NULL,
keywords VARCHAR (200) ,
have_vote ENUM (3),
PRIMARY KEY(page_ID),
UNIQUE(page_ID),
INDEX(page_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