sql server - How do I get “select for xml” to output to several files? -
our customer complaining our export file long; split export many files no more “n” records per file. there way of doing “select xml”
at persent using sql server 2005 project.
(if hard, can post process single large file split up)
i don't think there's simple'n'easy can here.
my approach limit number of rows returned each select statement (by partioning data returned criteria, e.g. date or location or something), , put smaller xml streams files 1 one. doable, not elegant or sophisticated..
Comments
Post a Comment