Little SQL Server Tricks: Export CSV With Sqlcmd
If you frequently export the same but updated data from SQL Server to a CSV file, you can automate that task with sqlcmd. The sqlcmd tool is part of SQL Server and offers us various options to customise the export to our needs.