Viewing 15 posts - 48,076 through 48,090 (of 59,064 total)
Ok... let's do this... here's the original data... mark each zero row with the rownum from where it's supposed to get it's data. If you leave any at zero,...
September 24, 2008 at 11:12 pm
Hey MATT! Congrats on becoming a proud member of the over 5k crowd!
September 24, 2008 at 6:46 pm
I think this might do it...
SELECT hi.Date,
hi.Area,
CASE WHEN hi.Amount = 0 THEN ISNULL(lo.Amount,0)...
September 24, 2008 at 6:40 pm
Dang... thanks, Chirag... I keep forgeting this is a 2k5 forum. 🙂
September 24, 2008 at 6:19 pm
Yeah, but what does the OP want to do with it? 🙂
September 24, 2008 at 6:16 pm
Holy Moly, Mike... I thought I had it bad and the current job...
September 24, 2008 at 6:05 pm
Folks, please... go back and look at the original post... the queries are identical except for the IF and the WHERE... just move the IF to the WHERE and be...
September 24, 2008 at 6:00 pm
Heh… you know me… I love the Tally table my own self! But, as I've said many times, the Tally table is NOT a panacea.
Consider this… in your example,...
September 24, 2008 at 6:07 am
I didn't forget ya... I just had a really long day and haven't been able to do the necessary writeup along with the code. I'll finish this when I...
September 23, 2008 at 11:27 pm
I didn't forget ya... I just had a really long day and haven't been able to do the necessary writeup along with the code. I'll finish this when I...
September 23, 2008 at 11:25 pm
GilaMonster (9/23/2008)
September 23, 2008 at 8:12 pm
Roy Ernest (9/23/2008)
September 23, 2008 at 8:08 pm
Thanks for the feedback, Roger. Heh... you're going to learn to love UniqueIdentifiers about as much as you'll learn to hate them. I love them because they're guaranteed...
September 23, 2008 at 8:05 pm
foursaints (9/12/2008)
September 23, 2008 at 7:56 pm
Viewing 15 posts - 48,076 through 48,090 (of 59,064 total)