I am trying to use phpmyadmin to make a new table. Here's the query
it created. What am I doing wrong?
SQL-query :
CREATE TABLE `News` (
`ID` INT( 11 ) DEFAULT '0' NOT NULL AUTO_INCREMENT ,
`Headline` TINYTEXT( 255 ) NOT NULL ,
`Opener` TINYTEXT( 255 ) NOT NULL ,
`Story` TEXT NOT NULL ,
`Image` TINYTEXT( 255 ) NOT NULL ,
UNIQUE (
`ID`
)
)
MySQL said:
#1064 - You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use
near '(255) NOT NULL, `Opener` TINYTEXT(255) NOT NULL, `Story` TEXT N
it created. What am I doing wrong?
SQL-query :
CREATE TABLE `News` (
`ID` INT( 11 ) DEFAULT '0' NOT NULL AUTO_INCREMENT ,
`Headline` TINYTEXT( 255 ) NOT NULL ,
`Opener` TINYTEXT( 255 ) NOT NULL ,
`Story` TEXT NOT NULL ,
`Image` TINYTEXT( 255 ) NOT NULL ,
UNIQUE (
`ID`
)
)
MySQL said:
#1064 - You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use
near '(255) NOT NULL, `Opener` TINYTEXT(255) NOT NULL, `Story` TEXT N
Comment