Viewing 15 posts - 16 through 30 (of 32 total)
That is representative of one of the conditions. I am not sure how I am going to populate the null columns from one of the duplicate rows. I...
January 22, 2008 at 1:07 pm
Yes that worked. Thanks to all of you. It took me some study to understand what he did but i got it.
January 21, 2008 at 8:23 am
These are all reasonable questions Jeff. Here is what is going on in my case and it may be similar conditions for other people that have made a similar...
January 19, 2008 at 8:27 pm
I do not know CTS. I will have to do some study.
January 19, 2008 at 12:38 pm
Gee.. thanks Prof. LOL I an sure i will be back with questions on CTE.
January 18, 2008 at 9:21 am
Got it 🙂 You have really added to my knowledge base and tool bag.
Thank you very much!
January 18, 2008 at 9:07 am
There is a primary key in the table, MyTableID. Your description if the ways to do this is very good. I am learing a lot. How would the...
January 18, 2008 at 7:28 am
JeffB –
The requester did not care which row was returned. All of ColX was populated. He just wanted a value from ColX.
Matt –
You have blown past...
January 17, 2008 at 2:42 pm
GSquared
I understand your explanation. Makes perfect sense. The problem I have had when working with DISTINCT is that all columns in the select list are engaged in the distinct....
January 17, 2008 at 12:37 pm
I am new to MS SQL and am trying to learn how things should be done. Given there are many ways to do the samne thing.
The solution you suggest...
January 17, 2008 at 12:14 pm
That is interesting. I'll play around with it.
January 15, 2008 at 9:52 am
Took a little study for me to understand what you did but i get it. 🙂 Thanks.
January 14, 2008 at 4:19 pm
Good point.
This remindes me of a related question i have had. How to return additional fields that are not in the DISTINCT field list?
If I have data that looks...
January 13, 2008 at 9:35 pm
I see. Missed when i first read it. thanks
January 13, 2008 at 8:09 pm
Great solution. Much simpler. Thank you
January 13, 2008 at 7:15 pm
Viewing 15 posts - 16 through 30 (of 32 total)