sql server 2008 - SQL select statement string concatenation -


Something like this can be done with a selection statement:

  SELECT col1, concat (Col2 + '') .... Group by call 1  

I know that I can use count (call2) or yoga (cola 2) for integer , But if there is a function to add this type, do you want to add between all the rows, or have not been created?

to do this in the function

because I personally prefer It performs well, but it will work only in SQL Server 2005

  select STUFF ((SELECT "'+ Description FROM dbo.brands for XML path (' ')) , 1, 1, '') as concatenated_string  

Comments

Popular posts from this blog

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

iphone - How do I make a UIPickerView in a UIActionSheet -