Created
November 24, 2014 08:52
-
-
Save bastiankoetsier/2f5b40014504441b0486 to your computer and use it in GitHub Desktop.
If you want to copy a table from one Database to another database
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 db2.table LIKE db1.table; | |
INSERT INTO db2.table SELECT * FROM db1.table; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment