oracle中有导出数据的脚本吗?可以写在存储过程里的。 oracle中有导出数据的sql脚本吗?可以写在存储过程里的。像“export to ……”这样的因为想在存储过程中写一个循环,变换导出条件导出多个txt。spool的话只能一个一个手工执行了。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 完成可以写成脚本,就象dos下面的.bat批处理命令一样,这样的脚在备份的时候经常会用到 是这样,因为我导出数据的条件要从其他表中select。比如:while (n < 10)loop select column2 into v_column from table1 where id = n ...... export to ***.txt of del select * fom table2 where condition = v_column ; n := n+1;end loop;; -- SPOOLhttp://www.blogjava.net/cheneyfree/archive/2008/03/19/187342.html oracle 转 mysql Hibernate生成策略问题 高分求解 解决了+200 Oracle 连接两张表并找出10-20之间的数据 在线等 菜鸟问题,谢谢 一个循环 Oracle中如何忽略找不到数据的错误(错误处理还在) 关于minus 请问如何扩充口令文件的大小! 请问怎样查看自己的历史帖子 〓关于数据类型的 一点疑惑~〓 创建快照时出现下列问题! 有没有人知道啊? select 问题(解决在奖励100)
这样的脚在备份的时候经常会用到
loop
select column2 into v_column from table1 where id = n
......
export to ***.txt of del select * fom table2 where condition = v_column ;
n := n+1;
end loop;;
http://www.blogjava.net/cheneyfree/archive/2008/03/19/187342.html