解决方案 »
- CRS-0184: Cannot communicate with the CRS daemon. RAC重启错误
- 有关oralce plsql 运行时间的疑问,请帮忙解惑
- Oracle中日期减小时怎么得到新日期
- 请教各们,如何 用C往Oracle中存放数据流
- oracle 9i 如何增加一天,即操作日期变量?
- ★请教一下:在oracle sql中,符号/*+ */表示什么意思
- Oracle 使用不具有连续性
- 2003下装92010NT_Disk1的setup.exe出现【错误】,安装日值中提示,如下:
- Oracle和DB2中是否有生成GUID的函数?
- ORACLE-你是英雄你来挑战
- 数据库查询问题
- plsql导出sql脚本问题
我两张表太大了,这样会报错TEMP临时空间不足错误 。临时表空间公司是不让动的,
或者这样也行,就是把表TABLE2中的e,f列 复制到表TABLE1 中,得到结果要求是TABLE1(a,b,c,e,f)
is
type t_cur is ref cursor;
insert_cur t_cur;
type t_rec is table of t3%rowtype index by binary_integer;
rows_rec t_rec;
begin
open insert_cur for select a,b,c,e,f from t1,t2 where ...;
loop
fetch insert_cur bulk collect into rows_rec
limit 1000;
exit when insert_cur%notfound;
forall i in rows_rec.first..rows_rec.last
insert into t3 values rows_rec(i);
commit;
end loop;
end proc;