Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML Bulk Load with ONLY T-SQL possible?

Status
Not open for further replies.

Hansje

Programmer
Dec 3, 2003
16
NL
Hi there,

I am busy trying to read a table with millions of records which basically have a varchar(8000) field with XML-data into relational tables. I have studied XML with SQL Server, all kinds of tutorials, XMLSpy, XML View Mapper, SQLCML 3.0, you name it. I think I've got the basics down pat, know how to create an XDR or XSD schema, the works. I'm almost an XML expert ;-)

Now I wish to read those records and process the XMLdata in them. It seems I can only do this with the help of ADO of VB or C#, whatever. Is it not possible to process xml-data with T_SQL only? I've read up on OPENXML and SELECT FOR, but I doubt very much if this is the way to process the amount of data I have to go through.

Basically, can I process a batch with XML solely using T-SQL?
Any help apreciated.

Kind regards,
Hansje
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top