Viewing 15 posts - 45,646 through 45,660 (of 59,095 total)
Lowell (1/22/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 11:44 pm
Heh... ya just hit a sweet spot, Steve...
Proper windowing functions that you can do proper aggregations like SUM(xxx) OVER() with so running totals and the like are a bit...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 10:50 pm
Share with us why you want to know, please. And what do you define as "better"?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 9:47 pm
To quote a good friend of mine... "A Developer must not guess... a Developer must KNOW." Be sure and take a look. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 9:44 pm
I agree that dynamic SQL is the way to go here. You could concatenate the same dynamic SQL you have in your cursor using the ol' SELECT @sql =...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 9:43 pm
GSquared (1/22/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 9:33 pm
SELECT usually uses some form of shared lock unless it's in an explicit transaction along with one of the other statements. Inserts and Updates use anything from a rowlock...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 9:25 pm
Using a cursor in 2k5 when VARCHAR(MAX) is available? Lowell? :hehe:
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 9:17 pm
Is there, by any chance, a trigger on the table that trys to "normalize" time zones?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 9:15 pm
The other part of the problem is the concatenations and the formulas on columns. No chance of an index being used for anything practical there.
Also, you're inserting into the...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 9:10 pm
Heh... you've just gotta know that any post with "RBAR" in the title is going to catch my eye. Thought I'd stop by and see what's up. Looks...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 9:03 pm
mtucker (1/22/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 8:44 pm
Yep... I do the same thing... except I've been solving the problem and then asking for a bit of feedback. Of course, once the cat's out of the bag,...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 8:11 pm
mtucker (1/22/2009)
Jeff Moden (1/22/2009)
How are my fellow employees going to make better decisions if they know what I make?
better decisions with regard to their salary and conditions...should i ask for...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 8:01 pm
I'm thinking it was a coincidence... not sure though... looks like one of those times when you "had to be there" to figure it out. I've never seen that...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2009 at 7:35 pm
Viewing 15 posts - 45,646 through 45,660 (of 59,095 total)