Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql clone table with data and add attribute

CREATE TABLE newtable LIKE oldtable; 
INSERT INTO newtable SELECT * FROM oldtable;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #clone #table #data #add #attribute
ADD COMMENT
Topic
Name
6+2 =