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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 String Concatenation

Author  Topic 

mageshks
Yak Posting Veteran

59 Posts

Posted - 2009-03-25 : 09:28:45
Hi All,
I have a table like the following

col1 col2 col3
---------------------------------------------------
testcol11 testcol12 somestring1

testcol11 testcol12 somestring2

Here the col1 and col2 values in the row 1 and row 2 are same.only col3 value is different

i want the o/p like the following

col1 col2 col3
---------------------------------------------------
testcol11 testcol12 somestring1somestring2


i want the col3 in row1 and row2 to be concatenated

Thanks in advance



TG
Master Smack Fu Yak Hacker

6065 Posts

Posted - 2009-03-25 : 09:56:08
Duplicate post:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=122456

Be One with the Optimizer
TG
Go to Top of Page
   

- Advertisement -