SELECT INTO和INSERT INTO SELECT(SQL Server)

--自动创建了target_table表,并复制source_table表的数据到target_table
select name,age into target_table from source_table
---复制source_table表中的数据到target_table表
insert into target_table(name,age) select name,age from source_table

 

posted @ 2015-01-19 16:38  Vincent-Li  阅读(332)  评论(0)    收藏  举报