Viewing 15 posts - 31 through 45 (of 67 total)
For totals that involve groups, I wonder if you can split the work in half.
A multi-thread CLR?
Where the first query get the first half while the second query gets the...
February 18, 2008 at 8:56 pm
You know...with very little effort, Frank's query could easily be adapted for a self referencing table to do a rolling update in a guaranteed order for each child under a...
February 15, 2008 at 5:43 pm
Sir Slicendice (2/15/2008)
February 15, 2008 at 3:35 pm
Matt Miller (2/15/2008)
Christopher Ford (2/15/2008)
I can't think...
February 15, 2008 at 3:06 pm
Matt Miller (2/15/2008)
February 15, 2008 at 12:10 pm
Matt,
Perfect, thank you. That helps a lot.
I was worried about the dynamic calculation of it all and wasn't sure if that was the way to go for figuring out...
February 15, 2008 at 12:02 pm
I looked at this post on the forum:
http://www.sqlservercentral.com/Forums/Topic403433-361-1.aspx
But that didn't really help explain anything. =)
He already had a "plan" for handling payments.
I do not really have a plan...
February 15, 2008 at 9:31 am
TheSQLGuru (2/15/2008)
Sorry, but there doesn't have to be. Just because we really wish...
February 15, 2008 at 8:57 am
ALZDBA (2/15/2008)
And it resulted in a solution that worked a lightning speed and performed
the actual update in...
February 15, 2008 at 1:56 am
Jeff Moden (2/14/2008)
February 15, 2008 at 1:00 am
Fine...
So...solutions which guaratee order in which rows are processed is it? Man, you guys are hard to please.
Here's 2 solutions I can think of. One for SQL...
February 14, 2008 at 2:19 pm
Sadly that set based solution in my system over several million rows has a duration of about a half hour. The update variable nips through it in 10 seconds.
Yeah,...
February 14, 2008 at 7:40 am
Jeff Moden (2/13/2008)
February 13, 2008 at 11:30 pm
Earlier Jeff posted a question on using SUM(SAL) OVER()
Since OVER() doesn't support ORDER BY when used with an aggregation.
How about this one?
SELECT J1.AccountID,
J1.Date,
J1.Amount AS...
February 13, 2008 at 11:24 pm
The previous solution also works with parallel IO on 64 bit boxes quite well, because you're updating the results of your CTE which get pushed back to the underlying table.
Things...
February 13, 2008 at 10:16 pm
Viewing 15 posts - 31 through 45 (of 67 total)