Viewing 15 posts - 48,106 through 48,120 (of 59,095 total)
Barry and Cath, that did the trick. Setting "Include IF NOT EXISTS clause" to false, got rid of all the dynamic SQL.
Matt, yeah, I'd already tried ALTER and that,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2008 at 5:18 am
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,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2008 at 11:12 pm
There's air?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2008 at 11:05 pm
Hey MATT! Congrats on becoming a proud member of the over 5k crowd!
--Jeff Moden
Change is inevitable... Change for the better is not.
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)...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2008 at 6:40 pm
Dang... thanks, Chirag... I keep forgeting this is a 2k5 forum. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2008 at 6:19 pm
Yeah, but what does the OP want to do with it? 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2008 at 6:16 pm
Holy Moly, Mike... I thought I had it bad and the current job...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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,...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2008 at 11:25 pm
GilaMonster (9/23/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2008 at 8:12 pm
Roy Ernest (9/23/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2008 at 8:05 pm
Viewing 15 posts - 48,106 through 48,120 (of 59,095 total)