Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

clone table structure mysql

CREATE TABLE foo SELECT * FROM bar LIMIT 0

Or
CREATE TABLE foo SELECT * FROM bar WHERE 1=0
 
PREVIOUS NEXT
Tagged: #clone #table #structure #mysql
ADD COMMENT
Topic
Name
3+8 =