How to Read XML and Generate SQL Insert

Posted by hackerkatt on Server Fault See other posts from Server Fault or by hackerkatt
Published on 2012-12-03T16:23:27Z Indexed on 2012/12/03 17:06 UTC
Read the original article Hit count: 203

Filed under:
|
|

I am trying to write a VB Script to read a XML file (downloaded daily) and insert the information into a MSSQL DB. The content of the XML is a list if CDRs (Call Data Records). I need to parse the file and insert the cdr's into a table. I'm a Ruby,Perl,PHP,Javascript,SQL,... programer. But I've really never written any VB Script. I've done some googling and find a number of examples on how to generate XML from a SQL Query, but not the reverse. Any help/suggestions would be greatly appreciated.

Thank you!

© Server Fault or respective owner

Related posts about sql-server

Related posts about vbscript