Viewing 15 posts - 57,586 through 57,600 (of 59,101 total)
Not sure how you're using it, but "IF" smacks of Cursors, While Loops, and other forms of "RBAR"... if you really want you code to fly, write it set-based with...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2006 at 12:08 am
I know it's just an experiment but, ugh... if you end up counting transactions in your code, ya just might have a bigger problem with your application...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 11:43 pm
First, not sure how you'd do a like with the values "mashed" together even if you were looking at a single column. I can tell you that anytime you can...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 11:38 pm
Ok.... thought you'd gone nuts on me for a minute
Short naps get me through the day ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 11:28 pm
Be patient with me, Serqiy... I'm confused
... I thought you were saying before that you didn't need SQL, just the file system...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 9:16 pm
p.s. Just to save face... if this is NOT a simple denormalized reporting table, you need to change my statement from...
"and everyone who has code that adds columns uses the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 9:05 pm
Both methods are good... so long as you are in the correct data base and the table actually exists in that data base...
if it doesn't, the code will not...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 9:01 pm
Concur... my point exactly...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 6:46 pm
Yep... I know that xp_CmdShell is "serial" and not asynchronus in nature... that's why I normally check the data before I put it in a trigger. But, I have seen...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 6:44 pm
Think "language barrier" and email mono-tones folks... Sometimes folks get pretty short and it isn't meant to be rude... it just sounds that way. Add English as a second language...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 6:42 pm
I just did a quick read on this... it is possible to write to a table from within a trigger and not have it roll back but only if you...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 6:29 am
Considering that the original poster had troubles with the dynamic SQL to create the column, you might want to demo how to test for the column's existance with some generic...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 6:20 am
Both sides of the coin? I normally end up looking at the edge of the coin, too ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 6:11 am
Just a note... if you take to long writing a post, this site looses it's mind
and destroys your post... ALWAYS remember to COPY...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2006 at 6:10 am
Not sure you'd have to worry about the locks to create a simple sum... and, everytime someone made a new entry in the food table, you'd have to do an...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2006 at 6:27 pm
Viewing 15 posts - 57,586 through 57,600 (of 59,101 total)