Discussion:
create insert statements from xml file
(too old to reply)
j***@gmail.com
2014-03-12 15:06:50 UTC
Permalink
Hi all
I have a number of xml files which I need to extract data from and insert into various tables. I know that there has been a lot of xml functionality added to the last couple of versions of the engine but I can not find the commands/functions to do this conversion. What is the best way to approach doing something like this?

Thanks
Joe
Ian Goddard
2014-03-12 15:38:05 UTC
Permalink
Post by j***@gmail.com
Hi all
I have a number of xml files which I need to extract data from and insert into various tables. I know that there has been a lot of xml functionality added to the last couple of versions of the engine but I can not find the commands/functions to do this conversion. What is the best way to approach doing something like this?
Thanks
I had to do this for SQL Server <spit/> before such facilities had been
built in. I wrote an XSLT script to convert the XML into SQL statements
& then passed them to the engine to execute.
--
Ian

The Hotmail address is my spam-bin. Real mail address is iang
at austonley org uk
Doug Lawry
2014-03-12 18:47:31 UTC
Permalink
Quite easy with tools from www.altova.com.

Regards,
Doug Lawry

Loading...