0
I have a problem when Myadmin generates a table creation script.
The Script:
CREATE TABLE `crud_ABC`.`cliente_ABC` ( `id` INT(10) NOT NULL AUTO_INCREMENT , `nome` VARCHAR(300) NOT NULL , `valor` DOUBLE(20) NOT NULL , `descricao` TINYTEXT NOT NULL , PRIMARY KEY (`id`(10))) ENGINE = MyISAM;
But he reports to me the error of:
1064 - You have a syntax error in your SQL next to ') NOT NULL , `Description` TINYTEXT NOT NULL , PRIMARY KEY (`id`(10))) ENGINE = My' on line 1
What can it be? I’ve tried switching the quotation marks.
Obg, helped me!! I had fixed, but Myadmin was generating the code so. the/
– Luiz Miguel