Here's a short and sweet way to backup table data including all the indexes using simple SQL syntaxes.
CREATE TABLE new_table_name LIKE old_table_name;
Copy the data from the old table to the new one:
INSERT new_table_name SELECT * FROM old_table_name;
0 comments:
Post a Comment