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 |
|
cyberpd
Yak Posting Veteran
60 Posts |
Posted - 2010-01-11 : 04:46:35
|
| Suppose there is a table T1 with two fields F1, F2, will have more in the future.Suppose there are two rows in the table T1.The values are as follows :- F1 F2 admin admin admin bbThe query will return only one row as the following :- admin admin, bbCan this be done?Thanks and regards. |
|
|
jackv
Master Smack Fu Yak Hacker
2179 Posts |
Posted - 2010-01-11 : 05:12:58
|
| Could you post the table definition - for example , are there any Primary Keys?What you request is possible ,but some more information is required to give you a suitable response.Jack Vamvas--------------------http://www.ITjobfeed.com |
 |
|
|
cyberpd
Yak Posting Veteran
60 Posts |
Posted - 2010-01-11 : 05:20:52
|
| Thanks for the reply Jack.There are no Primary Key.I would like to mention that if there is a third row, including the above mentioned two with values such as:- admin adminthen the result set would be like this:- admin admin, bb, adminThanks and regards |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2010-01-11 : 05:38:28
|
| http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=81254MadhivananFailing to plan is Planning to fail |
 |
|
|
cyberpd
Yak Posting Veteran
60 Posts |
Posted - 2010-01-11 : 05:51:48
|
| Thanks for the reply Madhivanan.I don't have words to express my gratitude.that is exactly what I wanted.Thank you so much.This thread is resolved. |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2010-01-11 : 07:27:03
|
quote: Originally posted by cyberpd Thanks for the reply Madhivanan.I don't have words to express my gratitude.that is exactly what I wanted.Thank you so much.This thread is resolved.
You are welcome MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|