一.INSERT SELECT :将查询的数据直接插入
特点:
1.一次性插入所有查询出来的数据。
2.数据原子性,有一个失败全部失败。
3.没有指定的列加默认值或NULL,都没有就报错。
二.INSERT EXEC :将存储过程返回的值直接插入
三.SELECT INTO
1.orders表为一张新表。
2.会将原来表的字段的结构、数据都复制的新表。索引等除外