Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql copy table with new name


        
            
        
     CREATE TABLE IF NOT EXISTS new_table LIKE existing_table;

INSERT new_table
SELECT * FROM existing_table;
Source by www.mysqltutorial.org #
 
PREVIOUS NEXT
Tagged: #mysql #copy #table
ADD COMMENT
Topic
Name
7+8 =