"Scand" <schgand (AT) travelwindow (DOT) ch> wrote
[snip]
Quote:
Is there a function in Transact-SQL which I can use to make a HTTP-Call or
XML-Call? |
There isn't one in SQL 2000; there is one in SQL 2005.
Quote:
If there isn't any function, which will be the best method to get this
large
XML result file? |
Use a DTS job. In the DTS job add an ActiveX script that connects and
downloads the XML file. Then insert the XML into SQL Server using OpenXML.
Quote:
Should I use OpenXML to parse and insert the XML file or is it better and
faster to use the bulk load method for large XML files? |
For large XML files (which are only inserts) the bulk load method is faster.
However, if you use the bulkload method you will have to do the entire
import from script.
Quote:
Can someone give me an example how I can do this? |
I don't have one currently but I will try to add on to the sqlxml.org site
since this is a pretty common request. Email me in a couple days if I
haven't posted it (using the email address on this post).
--
Bryant