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
Oracle Database Archived Forums
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Feb 11, 2013 11:07 AM by
SQL Loader fails loading XML data enclosed by tag not found
Feb 11, 2013 11:07 AM
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>"
This content has been marked as final.
Show 0 replies