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 the error:
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 already tried changing the quotes.