insert into,,,select 和 select into...区别

1.insert into table1 (p1,p2..) select(p1,p2) from table2   

从table2中查出数据然后在插入到table1中 ,table1和table2都是存在的已经定义好的表
2.select into table1(p1,p2..) from table2
将table2中的所有数据插入到table1中,table1是不存在的一张表,当使用时临时创建的,这种方式适合用于单表数据表备份
原文地址:https://www.cnblogs.com/hui1107464497/p/4502127.html