Cry How To - Export to CSV
bcp [database_name.[owner].]table_name out csv-file [/Uusername] [/Ppassword] [/Sserver_name] /c /t,

例:
bcp mydb.dbo.sales out sales.csv /Uxxxx /Pxxxx /Sxxxx /c /t,
bcp "select * from table" queryout c:/sales.csv /c /t","