I would like to create a column in a table, with data type BLOB and attribute BINARY, however, MySQL always says that there is a syntax error in my code, I cannot see any.
My code is:
ALTER TABLE `Users` CHANGE `user_image` `user_image` BLOB BINARY NULL DEFAULT NULL;
And the error message is:
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 'BINARY NULL DEFAULT NULL' at line 1.