简体   繁体   中英

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.

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.

Is the file stored in cleartext in one of the fiels ie not binary or something?

If so then pick the field up in your source qualifier and parse it to a flat file made up of one port eg file_in .

If not, could you elaborate the error you are receiving in your current job and describe how the job works?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM