| Start | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Using FOR XML to Concatenate Values from Multiple Rows One common use for the Here's an example using the Customers table (opens new window): In the example above, Note: the result from the above example will be XML-encoded, meaning it will replace This can be used to achieve a result similar to |
||||||||||||||||
| Basic Character Replacement with STUFF() The Executing this example will result in returning |
||||||||||||||||
| Basic Example of STUFF() function. STUFF(Original_Expression, Start, Length, Replacement_expression) STUFF() function inserts Replacement_expression, at the start position specified, along with removing the characters specified using Length parameter. Executing this example will result in returning the given table
|
||||||||||||||||
Obtain column names separated with comma (not a list) |
||||||||||||||||
| stuff for comma separated in sql server
Parameters
|
Read Article
https://develop.horje.com/learn/1434/reference