Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to export XML file in CLOB column using Oracle SQL

I have an XML file in a CLOB column, which is present in an Oracle table. I would like to export the XML file into LINUX landing directory which will be done through Informatica. Can you help me out in how to do this. Please share your thoughts.Thank you.

like image 563
Teja Avatar asked Dec 05 '25 10:12

Teja


1 Answers

Use SQL Developer ( I used version 3.2.20.09 )

http:/WWW.Oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html

Select Export from the right hand context menu

Context Menu

  1. Select the Export Data checkbox
  2. Select Loader from the Format dropdown
  3. Select Separate Files from the Save as dropdown
  4. Enter the name of a directory
  5. Click Next
  6. Click Finish

Export Dialog

It exports the data to separate files but at least it's in clear text.

like image 105
tjphall Avatar answered Dec 07 '25 10:12

tjphall



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!