How to populate a .csv
file from a SQL Server stored procedure?
We don't have Office on the Server. The .CSV
file has to be populated from a stored procedure result set.
How to export to a .CSV
without using SSIS package?
End result, I will have to generate email alert by attaching this CSV file as report.
I will have to use bulk copy program utility (BCP
), I am looking on samples for BCP to generate csv file