使用UTL_FILE包将数据写入文件 [英] Writing data to file using UTL_FILE package

查看:113
本文介绍了使用UTL_FILE包将数据写入文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

文士

i希望将查询结果写入/导出到文本文件

逻辑

1)执行查询和

2)导出到文本文件

解决方案

尝试使用SPOOL命令。


尝试一下像这样:

展开 | 选择 | Wrap | 行号


展开 | 选择 | Wrap | 行号


scribes
i would like to write /export the results of a query to a text file
logic
1)execute query and
2) export to a text file

解决方案

Try using the SPOOL command.


Try something like this:

Expand|Select|Wrap|Line Numbers


Expand|Select|Wrap|Line Numbers


这篇关于使用UTL_FILE包将数据写入文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆