Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2008-11-26 : 06:08:55
|
| i am running a procedure that creates an xml structurehow can i export it directly to a file?thnakspelegIsrael -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-11-26 : 07:00:45
|
| Use FOR XML RAW/EXPLICIT/AUTO to create xml in procedure. For exporting to file see belowhttp://msdn.microsoft.com/en-us/library/ms191184.aspx |
 |
|
|
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2008-11-26 : 11:27:17
|
| i found this article[url]http://www.sqldbatips.com/showarticle.asp?ID=23[/url]Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
 |
|
|
|
|
|