Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Mike_h
Starting Member
7 Posts |
Posted - 2009-05-29 : 08:55:39
|
| Hi.I have a table that contains the followinNum1 Num22906 P112905 P112912 P22i would like to write a query to output the following resultnum1 num22906/2905 P112912 P22Can anyway give me an idea of how to return this.Thanks |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2009-05-29 : 08:58:07
|
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=81254 KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
eralper
Yak Posting Veteran
66 Posts |
Posted - 2009-06-08 : 09:43:44
|
| One more link with sql sample codes on string concatenation using XML PATH() at [url]http://www.kodyaz.com/articles/concatenate-using-xml-path.aspx[/url]I hope you find helpful.I like using the for XML PATH() method, because I found it fascinating.-------------Eralperhttp://www.kodyaz.com |
 |
|
|
|
|
|