title: Import Complex XML file into SQL server
body: <p>I have about 6000 XML files need to import into SQL Database. I need to find out some fields in those XML files and import into multiple tables. Those files are InfoPath files saved as XML docs. Each file have about 20 fields need to go into 6 tables at respective columns. I analyzed the data fields and created tables and relation between them. Now, have to start importing the data.</p>
  
  <p>I tried using XML source in SSIS but the data is too complex for SSIS to hold. So, xml source will not work for me. Worked on using Script task but I'm not core C#/VB developer. Also tried to use Bulk Insert; but <strong>i don't have bulk insert permissions.</strong> Friend suggested me to use XQuery,but i think Xquery works for parsing if the XML file is in table(Not sure). </p>
  
  <p>Can anyone please tell me the best approach to start this task. </p>
  
  <p>Thanks in Advance!</p>
  
  <p>Kumar</p>