select into 和inserrt into 都能滿足復制表的作用 但是二者又有區別
select into :
語法 :SELECT vale1, value2 into Table2 from Table1
此處 創建目標表table2 並 把table1 中的數據復制到table2
注意 :要求table2 表不存在
insert into from :
語法: Insert into Table2(field1,field2,...) select value1,value2,... from Table1
注意: 要求表table2 必須存在 且 列必須存在
注意Table2的主鍵約束,如果Table2有主鍵而且不為空,則 field1, field2...中必須包括主鍵