This PL/SQL code function will quickly help to write CSV without having to code a single line.
Just change the query argument to function. One will need a writable directory as a utl_file_dir parameter from init.ora or pfile , or a stored directory object. Make sure you have read access to operating system directory you are supplying else it does not make much sense to run a program at all.
You can create a database object as well just copy and replace function definition with create or replace function.
QueryLight is a lightweight Oracle database client.
Please help us in betterment of the software by donating generously. Your encouragement and funds will keep the site going.
Donate Here on Paypal.
Subscribe to:
Post Comments (Atom)
AWS solution architect exam questions.
Before taking this let it be known that the questions are sourced from random sites using simple algorithms. The authenticity of questions a...
-
If you have 3000 lines of code and a custom exception handler like when others. The ORA 06502 can be notoriously elusive to find. This er...
-
In this tutorial video we have demonstrated how to use oracle analytical functions like lag , lead , sum and avg etc. Example 1. Use of...
-
Starting from Oracle database release 10g you can have DML's succeed with partial data failures. How ? Default reaction of any bulk I...
No comments:
Post a Comment
Please leave your relevant comments and questions only.