Viewing 15 posts - 46 through 60 (of 441 total)
I'm including the Time / IO Information to demonstrate the reads:
(36278 row(s) affected)
Table 'Worktable'. Scan count 0, logical reads 0, physical reads 0, read-ahead reads 0
Table 'GICSPFProductToZone'. Scan count 1,...
May 11, 2010 at 7:32 am
What have you tried to far? If it's THAT urgent, you must have worked a bit on it?
You know, people that help you are on these forums aren't paid...
May 6, 2010 at 1:33 pm
You have a big problem with the client application. It must NOT call once per row to get the information, you have to find a way to revamp the procedure...
April 1, 2010 at 11:39 am
GilaMonster (3/31/2010)
mjarsaniya (3/31/2010)
not a one update query ....there are 5 million update queries are fired against this table.Why are you doing 5 million updates one at a time?
Good Question! :w00t::w00t:
March 31, 2010 at 9:44 am
How do you build your update queries? From what field do you base your statement to be able to generate the update queries?
Because we could change that, and therefore run...
March 31, 2010 at 9:34 am
From what I can understand, your update query hits 5 million rows.
The only filter that is in your update is the PageID, and FileID, and you said you were able...
March 31, 2010 at 9:25 am
CirquedeSQLeil (3/18/2010)
You will see several examples at http://ask.sqlservercentral.com/questions/4241/whats-the-best-way-to-solve-the-fizzbuzz-question
Thanks, I'll do some reading, looks interesting.
March 18, 2010 at 2:07 pm
Anyone has a link for that "Magical on the fly tally table" as
with cte as (Select 1 union all select 1 union all select 1 union all select 1)...
March 18, 2010 at 1:54 pm
CirquedeSQLeil (3/18/2010)
A windowed function such as this would be my first suggestion to solving the question.
Thanks for the vote of confidence Jason, 😛
We do not know if the OP has...
March 18, 2010 at 1:49 pm
Here is a query you can use, but you will need to add a datetime field you probably have in your table in the sorting. It's just a working idea...
March 18, 2010 at 1:29 pm
You want the "First" record for this grouping, but based on what criteria? Do you have a Timestamp for the order the records were inserted in? Otherwise, there's no way...
March 18, 2010 at 1:22 pm
Ryan, I've come with a small test table, that makes me doubt over your statistics.
IF EXISTS ( SELECT 1
...
March 17, 2010 at 12:47 pm
I have not tried this, but I would try to update the statistics of the temp table right after the insert, so you can make sure it will use the...
March 17, 2010 at 12:27 pm
Neone looking for a short hair curler? That could do me some good! Haha!
March 9, 2010 at 1:13 pm
Viewing 15 posts - 46 through 60 (of 441 total)