Home » SQL & PL/SQL » SQL & PL/SQL » Oracle_XML (Oracle 10g)
Oracle_XML [message #402261] Fri, 08 May 2009 04:30 Go to next message
madhavi babburi
Messages: 117
Registered: May 2009
Location: Hyderabad
Senior Member
Hi,
I want to insert more than 10000 rows into a table having XMLTYPE column. The XMLTYPE column having empno, ename, designation, DOJ, address (HNO,Street,City,State, Country) as columns/nodes and deptno, branchID as ordinary columns. I want to insert the employees with diff designations and salaries as per.
Can you tell me the way to complete my work fast.

Regards,
Madhu.
Re: Oracle_XML [message #402263 is a reply to message #402261] Fri, 08 May 2009 04:44 Go to previous messageGo to next message
Michel Cadot
Messages: 64139
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Post a working Test case: create table and insert statements along with the result you want with these data.
Don't forget to format your data (see OraFAQ Forum Guide).
Also always post your Oracle version (4 decimals).

Regards
Michel
Re: Oracle_XML [message #402264 is a reply to message #402261] Fri, 08 May 2009 04:46 Go to previous message
JRowbottom
Messages: 5933
Registered: June 2006
Location: Sunny North Yorkshire, ho...
Senior Member
Are you asking how to generate XML out of Oracle, or how to optimise your query?

If it's the first, then you can use DBMS_XMLGEN or to produce XML from queries, or functions like XMLELEMENT
to generate XML columns in your SQL.
Previous Topic: Reserved words Location
Next Topic: Excel Report From SP - ORA 29285 - file write error
Goto Forum:
  


Current Time: Fri Dec 09 02:25:12 CST 2016

Total time taken to generate the page: 0.05583 seconds