Your comments are really inappropriate. I posted the question honestly and your comments appear to be attacking the question not answering it.
If you reread the question you will see that ASP doesn't meet the required solution and your comments don't contribute.
1. The results produced by SQL and SQL Query Analyzer are identical. SQL Query analyzer simply provides an administrative interface in which to write and develop queries. I've yet to see an instance where a query returns different results to ASP then it does to QA.
2. XML explicit does not generate a root element per se. Regardless of this you'll notice that I explicitly mentioned the need to create a header and footer for the document.
3. Your ASP comment is in appropriate. ASP doesn't meet the security and automation requirements. My expirements with an ASP stream object did not produce fruit other then a series of error messages. I consider ASP a dead avenue because it doesn't meet the requirements.
4. Your remark about the stream object and this being out of the question is non-contributory and inappropriate.
5. Xpath is a access method to the data in SQL that allows queries to be submitted to SQL via a special configuration of IIS. This presents an unacceptable security risk on this particular server. I'm not comfortable providing any query level access via webpage.
Please keep comments to the desired solution. DTS and SQL exporting XML to a file on the server. If you need additional information please feel free to ask.
Main Topics
Browse All Topics





by: acperkinsPosted on 2004-12-20 at 19:39:38ID: 12872891
>>When SQL generates XML it returns blocks of 8192 characters in a universal table. <<
Huh? Are you not confusing the results produced by SQL Query Analyzer with SQL Server?
>>doesn't have a root element.<<
If you are talking about For Xml Explicit, than that it is quite simply incorrect.
>>The ASP stream object seems very complicated and it's cumbersome to schedule ASP pages to run.<<
It is not complicated at all. Unless you consider an extra pair of lines complicated.
>>I'm having a really hard time putting a handle on the data from within SQL.<<
Let's put it this way, if you considered the Stream object complcated, then this is simply out of the question. Your best bet is to return it to a client, such as ASP.
>> I've also ruled out Xpath because the DB resides on a production web server and that raises an unacceptable risk. <<
I suspect you are confusing XPath with SQL Xml. They are significantly different animals.