美文网首页
select into from 和 insert into s

select into from 和 insert into s

作者: else05 | 来源:发表于2016-06-01 09:56 被阅读28次
-- 其中table1和table2都要存在 (这里有个小坑,看原文)
Insert into Table2(field1,field2,...) select value1,value2,... from Table1
-- table1存在,table2 必须不存在 ,会自动建立新表table2
SELECT vale1, value2 into Table2 from Table1

原文

相关文章

网友评论

      本文标题:select into from 和 insert into s

      本文链接:https://www.haomeiwen.com/subject/lyrhdttx.html