insert into 和 select ....into 的區別


insert into table2(field1,field2) select value(field1,field2) from table1;
或者
Insert into Table2 select * from Table1

注意點:目標表Table2已存在


select * from Table1 into Table2;
或者
select * into Table2 from Table1;

注意點:目標表Table2插入時才創建.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章