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

Export XML from SQL Server

Status
Not open for further replies.

Rjconrep

Technical User
Oct 24, 2000
66
0
0
US
I am new to both XML and SQL Server so please be patient. I have ten excel files that need to be imported into SQL server. This part of my job is done. What I need now is to export these files as tagged XML files.
How do I export as XML from SQL server?
 
Try something like
Code:
SELECT * FROM yourtable FOR XML AUTO
BOL is your friend--search for for xml and openxml.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top