Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««1234

Concatenating field values in one string Expand / Collapse
Author
Message
Posted Friday, January 17, 2014 3:28 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 10:21 PM
Points: 35,951, Visits: 30,235
In that case, let's provide a link on the subject.
http://www.sqlservercentral.com/articles/comma+separated+list/71700/

Please make sure that you dive into the "Join the Discussion" link for a particular performance optimization.

As for the dupes, "It Depends" on whether or not you actually need the dupes or not.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

"Change is inevitable. Change for the better is not." -- 04 August 2013
(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #1532315
« Prev Topic | Next Topic »

Add to briefcase «««1234

Permissions Expand / Collapse