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!

SQL output to XML

Status
Not open for further replies.

stoorob

Programmer
Nov 27, 2000
6
GB
Can anyone tell me how I could do the following within a SQL stored procedure?

The stored procedure recieves certain values which are used as part of a query and I want to be able to output this information to an XML file in a folder on my system.
If the XML file is already there I'd like to be able to append the new information to it, otherwise create a new file and populate it
with the data. I think this should be fairly easy to do but my experience with XML, especially through SQL 2000 is limited.

Thanks in advance,

Stuart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top