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 |
|
learntsql
524 Posts |
Posted - 2011-08-01 : 07:27:07
|
| Hi All,I am joing three CTEseach cte has 3 columns out of two have common valueswhen i am joing these are replicating and getting wrong output.what is suggested way of writing query.TIA. |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2011-08-01 : 07:44:10
|
it will be very much easier for any of us to help you if you can post the table DDL, sample data, the query and the expected result. KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
learntsql
524 Posts |
Posted - 2011-08-01 : 08:01:34
|
| Thanks khtan,I managed it.its working.ThankQ. |
 |
|
|
|
|
|