Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
Oracle Database Archived Forums
This discussion is archived
on Feb 11, 2013 5:07 PM by 990435
SQL Loader fails loading XML data enclosed by tag not found
Feb 11, 2013 5:07 PM
The problem I'm having is my XML tree doesn't contain all possible elements. In this example the second entry doesn't contain <age> - only the first entry will be added to the database
Any idea of how I could solve this?
The fields are saved as varchar2
INFILE 'data.xml' "str '</row>'"
INTO TABLE test
dummy FILLER terminated BY "<row>",
name ENCLOSED BY "<name>" AND "</name>",
age ENCLOSED BY "<age>" AND "</age>",
city ENCLOSED BY "<city>" AND "</city>"
I have the same question
Show 0 Likes
This content has been marked as final.
Show 0 replies