Viewing 6 posts - 1 through 7 (of 7 total)
In that case overall would also be null since there is no other valid value.
March 18, 2011 at 5:55 am
Hi John,
That's what I was trying to say my post taht it would never happen like that.
In each combination of ID,DeptID,LocID,Desig the Grade would be the same. That's why I...
March 16, 2011 at 9:39 am
Hi Steve, You made me look into the answer and I think I made some mistake in my original post which is why that become confusing.
create table #grades(id int,deptID int,locid...
March 16, 2011 at 9:20 am
I am posting my first question here! Don't we have a Mark as Answer option as like msdn forums? !
March 16, 2011 at 9:02 am
Hi John,
Thanks and that should work. It did not occur to me to use coalesce after reading through on the odd requirement.
There could be a case if classB also null...
March 16, 2011 at 8:59 am
If grade is null we can update either with A, B or C as these three values would always be same. (Please don't look at how logical it could be...
March 16, 2011 at 6:03 am
Viewing 6 posts - 1 through 7 (of 7 total)