Viewing 15 posts - 48,106 through 48,120 (of 59,099 total)
... and, yes... that "feeling" goes towards delete triggers, as well.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2008 at 7:14 pm
ZIP is obviously a reference table. Someday, you may want to delete a ZIP with no impact on other tables. Cascading deletes is a pretty bad idea to...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2008 at 7:12 pm
The basic table naming convention I try to follow is... what does one row contain? Does it contain a Customer or Customers (answer should be obvious, there)? Same...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2008 at 7:03 pm
Hmmm... alright, Neela... thanks. I've got this. I'm on my way to work... I'll bang it out tonight.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2008 at 5:51 am
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
Viewing 15 posts - 48,106 through 48,120 (of 59,099 total)