I'm trying to create a table in my database in mysql 14.14 Distrib 5.6.24,
I want a table with two columns:
- one to store text
- one to store long integer to index the text field,
SQL:
CREATE TABLE mytable(
tag MEDIUMTEXT,
index BIGINT(20)
)
ENGINE MyISAM;
But I get the error
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 'BIGINT(20)