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!

XML Export to Flatfile

Status
Not open for further replies.

Atavistic

Programmer
May 16, 2000
6
US
I am working in SQL 7.0 writing a querry to an XML result set. The first hurdle I discovered was that the length of a column can be a maximum of 7000 chars. I am now calling the SELECT to XML multiple times because of the 7000 limit. I decided to store each result set to a flatfile that I can pick up after the querries have finished. bcp and dts are not working right now top write to a flatfile because they overwrite the previous result set each time. I need to be able to append each result set as I querry. I can handle deleting the file later once I have picked it up.

Any ideas or alternative solutions to my problem? [sig][/sig]
 
What about shoving it into a text column? [sig][/sig]
 
I tried that but you cannot INSERT INTO when you are generating XML. Thanks for the idea. [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top