Outputting xml schema row from SQL server 2005
Hi Myles McKee,
is this question related to SSIS?
if not please post in
SQL Server XML Forum.
Shailesh, Please mark the post as answered if it answers your question.
October 17th, 2011 5:21pm
I do not know how you coded your functionality, but it seems that it could be done by having a template file with the <?XML version "1.0"... etc then when you have you XML file produced you issue an append in form say of
exec xp_cmdshell 'XMLResult.xml >> XMLHeader.xml'Arthur My Blog
Free Windows Admin Tool Kit Click here and download it now
October 17th, 2011 5:27pm
I'm looking for the info to develop an SSIS package, but you're probably right that I'm better off looking for my answer on the SQL Server XML forum - I've moved my question to there.
Thanks for the response Arthur. I'll see if I can get that approach to work.Myles McKee
October 22nd, 2011 9:26am
I've developed code for outputting an XML file from SQL Server 2005, now I want to append the row (below) to the top of the file.
'<?xml version="1.0" encoding="UTF-8" standalone="no" ?>'
Does anyone have SQL code I code use for this situation?
Myles McKee
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2011 10:24am
Hi Myles McKee,
is this question related to SSIS?
if not please post in
SQL Server XML Forum.
Shailesh, Please mark the post as answered if it answers your question.
October 22nd, 2011 10:27am
I do not know how you coded your functionality, but it seems that it could be done by having a template file with the <?XML version "1.0"... etc then when you have you XML file produced you issue an append in form say of
exec xp_cmdshell 'XMLResult.xml >> XMLHeader.xml'Arthur My Blog
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2011 10:34am


