|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I code a trigger (or stored procedure) to create an output file from an Oracle subset? Any help will be welcome!
|
|
#2
|
|||
|
|||
|
Have a look at Oracle's UTL_FILE package. That should supply the functionality you need.
|
|
#3
|
|||
|
|||
|
UTL_FILE will drop the output on the server (not client) and requires a database parameter to be set (UTL_FILE_DIR?).
TEXT_IO works on the client side, but has been removed from alter versions of Oracle - 10 and possibily 9.x? If you are running web forms you can use forms builtins like WEB_UTIL. alternativilly, you could simply spool the output! |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > How to create an output file from Oracle data? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|