I am trying to take table backup before making any change, following this link for the query http://www.w3schools.com/sql/sql_select_into.asp . However its not working and throwing error #1327 - Undeclared variable: default_table_backup_31_08_2012. Let me know why it is not working?
phpMyAdmin :Version - 3.4.5.
*NOTE: However I find a method under phpmyadmin , GOTO->Operations and perform the copy but i want to know what actually the mistake in the query and kindly provide a solution in terms of query so that i can use it in general :)
My sql query-
SELECT *
INTO default_table_backup_31_08_2012
FROM default_table