Hi,
I tried using syntax,
CREATE TABLE new_table_name LIKE old_table_name;
ASA i press enter , it gives error,
ERROR 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 'LIKE old_table_name' at line 1
My MySQL version is
mysql Ver 12.22 Distrib 4.0.24, for pc-linux-gnu (i386)
How i can make this, bcoz i thought of alter the table in production, so prior to that one i would like to have a copy or backup of the table. How i can do this.
Please help.