Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to create a table structure from another table in mysql

CREATE TABLE new_tbl LIKE orig_tbl;  //(creates an empty table only definition is
                                        same.)
Source by dev.mysql.com #
 
PREVIOUS NEXT
Tagged: #create #table #structure #table #mysql
ADD COMMENT
Topic
Name
2+3 =