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!

Saving DataView as XML

Status
Not open for further replies.

unprsandeep

Programmer
Jan 10, 2005
5
GB
Hi All.

I need to save data coming out database in XML format. However the number of files will depend on record count / maximum allowed in one file.

I know the way to restrict dataview to contain the records i want but not sure how i should save the data in XML format.

Any help will be appreciated.

Sandeep.
 
What Database are you using and what mechanisms do you use to extract the data?

For example in a Stored Procedure in SQL-Server you could have your data returned automatically as Xml Document using

for xml auto

statement!


HTH,

Stephan



 
I am using MS SQL 7.0 and i am not sure if it supports the xml auto statement.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top