Home Forums SQL Server 2012 SQL 2012 - General Convert list of columns into quoted, comma delimited list of columns RE: Convert list of columns into quoted, comma delimited list of columns
John Mitchell-245523
SSC Guru
Points: 148809
More actions
October 23, 2017 at 2:41 am
#1964731
If it works, and you've tested it on large (say million-plus rows) data sets and it performs well, then go with it. If you're going to be using dynamic SQL later on, remember to guard against SQL injection.
John