Viewing post 1 (of 1 total)
/*Another way to get the fields in comma separated list and store the returned string in a VARCHAR is:*/
DECLARE @TableName SYSNAME = 'tablename'
DECLARE @ColumnNames VARCHAR(MAX)
SELECT @ColumnNames = COALESCE(@ColumnNames + ',','')...
March 30, 2015 at 9:27 am
Viewing post 1 (of 1 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy