Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql how to duplicate a table

CREATE TABLE new_table LIKE original_table;
INSERT INTO new_table SELECT * FROM original_table;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #duplicate #table
ADD COMMENT
Topic
Name
1+3 =