|
Table Structure Id Name Url 1 Test1 http://Dummy1 2 Test1 http://Dummy2 3 Test2 http://Dummy1 My Query :- "If user Searches for Url suppose [htttp://Dummy1] then display new column in result which will display all the Names associated with Url separated by '~' " I want result in this Manner:- Id Name Url Assign 1 Test1 http://Dummy1 ~Test1~Test2~ 2 Test1 http://Dummy2 ~Test1~ 3 Test2 http://Dummy1 ~Test1~Test2~ Thanks in Advance.
(comments are locked)
|
gives you +1. Creating a non-XML, separated string out of a bunch of rows is more or less the only thing I ever use the XML-capabilities in SQL Server for...
Jun 28 '12 at 01:23 PM
Magnus Ahlkvist
(comments are locked)
|

