Home Forums SQL Server 2012 SQL Server 2012 - T-SQL Comma separated list RE: Comma separated list
kevaburg
SSCoach
Points: 18131
More actions
September 26, 2017 at 10:32 am
#1960997
You might want to examine your full table scans first. There are a couple in there that are really imparing performance.
Once you have done that you could create your .csv file by embedding the code into a BCP statement and executing it.