I want to change the DataType of a mySQL table from float to DECIMAL:
ALTER TABLE t_tapes ALTER COLUMN price DECIMAL(15,6);
but I got an 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 'DECIMAL(15,6)' at line 1