• you could use BCP as well.

    BCP "select col1+','+col2+','+col3 from dbo.table" queryout c:\temp\file.csv -c -T

    or if you have xp_cmdshell enabled you can run it from SSMS or sql agent(note: xp_cmdshell can be a security risk).

    exec xp_cmdshell ''bcp "select col1+','+col2+','+col3 from dbo.table" queryout c:\temp\file.csv -c -T''

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]