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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML Import

Status
Not open for further replies.

ntbuddy

IS-IT--Management
Mar 9, 2001
19
US
I have a program that saves inforamtion in XML format. Is there a way that I can e-mail the XML structure to my corporate office and then import it direct into SQL 2000?

Thanks, John
 
Check out
Code:
sp_xml_preparedocument
and the associated procedures in BOL. This procedure will prepare an xml document for querying as a rowset. Once that's done, you can query against it like any other table - including SELECTing from it to INSERT into another table.

Good luck!

--Angel [rainbow]
-----------------------------------
Every time I lose my mind, I wonder
if it's really worth finding.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top