oracle 有两个表A表和B表怎么把A表中的一行放到B表中 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 insert into b select cola ,colb ,colc from a where cola=*** insert into b (col1,col2,...,coln)select col1,col2,...,coln from awhere ...;commit;注意对应列数据类型应该一样。 insert into b (id,code,name,...) select id,code,name...from a where id=? insert into b (col1,col2,...,coln)select col1,col2,...,coln from a注意数据类型 可以exp 导出来,在imp 导入进去 insert into b (id,code,name,...) select id,code,name...from a where id=? merge into B using A on(A.col1=B.col1) when not matched then insert(B.col1,B.col2) values(A.col1,A.col2) 急!如何将.dbf文件导入到oracle? ORA-00600错误 按惯例,散分200! 有没有关于ORACLE版本的错误的中文解释 oracle中sp的相互调用问题 oracle中如何取得时间的月份? 不能创建触发器,帮忙撒????? select 数据库记录(简单问题) 哪里有develop6.0的下载!!!谢谢!!! 新人求助,简单的问题,group By 表空间与数据文件之间的关系! oracle附加数据库的问题
select col1,col2,...,coln from a
where ...;commit;
注意对应列数据类型应该一样。
select id,code,name...from a
where id=?
select col1,col2,...,coln from a注意数据类型
select id,code,name...from a
where id=?
merge into B using A on(A.col1=B.col1)
when not matched then insert(B.col1,B.col2) values(A.col1,A.col2)