Bulk Inserts

From: Kiran Dalvi <rayoflight_kiran_at_yahoo.com>
Date: 15 Dec 2003 03:02:40 -0800
Message-ID: <b33f94a.0312150302.1671af2c_at_posting.google.com>


Hi,  

  I have following problem scenario .....  

  I have a XML of the format ....
  <Data>
   <Employee>
<EmpName>Kiran</EmpName>
<EmpID>100</EmpID>

   </Employee>
   <Employee>
<EmpName>Faheem</EmpName>
<EmpID>1000</EmpID>

   </Employee>

     ..
     ..
     ..     ..... I have such 30000+ blocks corressponding to 30000+
Employees.
  </Data>  

   Now, I have a DB design with following columns .....

  1. EmpName Varchar2(64)
  2. EmpID Number(64)

Here I want to parse this XML and persist the data from that XML into DB "efficiently".
I don't want to use conventional INSERTs.  

How can I go about it ?  

Thanks,
--Kiran Received on Mon Dec 15 2003 - 12:02:40 CET

Original text of this message