如何用shell操作oracle数据库
请问,如何使用shell编程访问oracle数据库,将oracle数据库中的数据导出,并格式化写入文本文件?各位有什么好的建议?谢谢了先。
如果有海量信息需要导出,是不是还不如写C/C++程序方便? shell编程实在不懂啊!
[[i] 本帖最后由 wyl781205 于 2007-10-7 16:26 编辑 [/i]] Hi Flyinmorning, Please see the below link:
[url]http://edu.yesky.com/edupxpt/186/2139686.shtml[/url]
for I have no Oracle now, and sth is wrong with my laptop... sign~
I cannot tested those scripts by myself.
Usually, I use "spool" in Oracle to dump data from tables. Those scripts listed in the above link maybe helpful. thank you so much!!! 如果你上次去了yapc会议,你就知道很多种使用shell操作oracle数据库客户端,:lol yapc会议 是什么?
我要每天处理几百万条历史纪录,每一万条写入一个文本文件,用shell会不会慢了点? 新来的不懂啊 :Q 我哭拉 基本思路 可以先导出查询结果 为文本,再通过shell对导出的结果文本进行分析。 您是什么岗位,要每天处理几百万条历史纪录啊? 短信计费
页:
[1]