-- 其中table1和table2都要存在 (这里有个小坑,看原文)
Insert into Table2(field1,field2,...) select value1,value2,... from Table1
-- table1存在,table2 必须不存在 ,会自动建立新表table2
SELECT vale1, value2 into Table2 from Table1
-- 其中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
网友评论