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

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -