Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading XML file onto a Oracle Db

Status
Not open for further replies.

IMAUser

Technical User
May 28, 2003
121
CH

Hi,
I m working on a Oracle 9.2 db.

I need to load an xml file onto a table using sql*Loader. Any ideas how I could do this. Or are there any other ways to do it which do not involve Java or other scripting languages.

Thanks,
 
Hi,
You may simply put the contents of the XML file directly into a LOB column.
Make use of UTL_FILE to read the file.

Regards
Himanshu
 
Thanks Himanshu for the response.

But I need to load it into relational tables and I think for that I'll have to use SQL*Loader. Any idea how I can load it into relational tables useing SQL*Loader.
 
Hi,
I think usage of SQL*Loader will not be possible if you intend to load the Data of each node into separate columns.

In order to achive this you need to make use of DBDOM package.
Please refer to thread759-821859

HTH
Regards
Himanshu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top