vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| "Matt Douhan" <matt@fruitsalad.org> wrote in message news:vi8421-q82.ln1@minihopp.internal.hasta.se... > hello > > I have an application where i need to export XML files and put them on a > server share as XML files. > > How can I achieve the XML export part? making the query and such is easy and > exporting as CSV and using BCP is ok, but I really would need to export as > XML files instead of CSV. > > Any ideas? > -- > Matt Douhan > www.fruitsalad.org > matt@fruitsalad.org > *** ping elvis *** > *** elvis is alive *** One suggestion is to do the following: Do the relevant SELECT statements in script page such as ASP and then do Dim ObjADORS adPersistXML = 1 filename = tablename & ".xml" Response.AddHeader "Title", "Address download" Response.ContentType = "text/xml" Response.AddHeader "Content-Disposition", "attachment;filename=" & filename contentTableSaveRs.Save Response, adPersistXML -- __________________________________________________ _________________ Remotely manage MS SQL db with SQLdirector - www.ciquery.com/tools/sqldirector/ |
| Thread Tools | |
| Display Modes | |
|
|