SQL複製表的幾種方法:sql
SQL複製整張表code
select * into NewTableName from OldTableName
只複製列名而不要內容it
select * into NewTableName from OldTableName where 1 = 0
表間數據複製class
insert into NewTableName(zt) select titile from OldTableName