Pass Query Results to a csv file and Send it as mail using SQL Server 2005

Posted by Sandhurst on Stack Overflow See other posts from Stack Overflow or by Sandhurst
Published on 2009-04-02T13:33:45Z Indexed on 2010/04/02 6:03 UTC
Read the original article Hit count: 406

I have two tasks and since I am new to it, I need some help/advice from the masters.

What I need to do is send the result of q select query to a csv file which can have delimeter as comma or tab and then send this file as mail to a particular receipient.

Hoping for some great advice

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about stored-procedures