Created
April 5, 2014 10:15
-
-
Save chiragparekh/9990000 to your computer and use it in GitHub Desktop.
Copy MySQL Table Structure with Data
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 new_table_name LIKE table_name; | |
INSERT new_table_name SELECT * FROM table_name; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment