Nigel Rivett BCP to CSV: Export SQL Server Data to CSV Files Export SQL Server data to CSV files using BCP and stored procedures. Covers delimiters, column headers, xp_cmdshell integration, and custom... 20 November 2006 13 min read