Last active
August 29, 2015 14:11
-
-
Save ibanez270dx/89a459830627ca4974b3 to your computer and use it in GitHub Desktop.
Copying a table in MYSQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE tablename_backup LIKE tablename; INSERT tablename_backup SELECT * FROM tablename; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment