Return to the SQL Tips
Inserting data from a CTE into a file in SQL
http://search400.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid3_gci1359524_mem1,00.html
The above link may require a free, or paid, registration to view the article.
[report a broken link by clicking here]