[sql]
CREATE TABLE works_info (
work_ID BLOB NOT NULL AUTO_INCREMENT ,
work_name VARCHAR( 255 ) NOT NULL ,
work_URL VARCHAR( 255 ) NOT NULL ,
authour_ID BLOB,
type_ID BLOB,
work_descript LONGTEXT,
sub_date DATE NOT NULL ,
PRIMARY KEY ( work_ID ) ,
UNIQUE (
work_name ,
work_URL
),
FULLTEXT (
work_descript
)
) COMMENT = 'first movie database'
[/sql]
tried to make this table to go with
http://www.phpbuilder.com/board/showthread.php?s=&postid=10577798#post10577798
but got
#1063 - Incorrect column specifier for column 'work_ID'
which on
http://dev.mysql.com/doc/mysql/en/Error-handling.html
says
Error: 1063 SQLSTATE: 42000 (ER_WRONG_FIELD_SPEC) Message: Incorrect column specifier for column '%s'
i will look up in my books tonight what I did wrong but wanted to get some comments here any suggestions.
I am using
phpMyAdmin 2.6.0-pl3
and
MySQL 4.0.22-standard
If that helps