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 we want to perform hierarchical queries we need to use connect by clause in our sql query. Hierarchical query is any query wherin yo...
-
This is a Beginner level article but can be referred readily by guys using Oracle Database moderately for a refernence. You can identify t...
-
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...
No comments:
Post a Comment
Please leave your relevant comments and questions only.