Viewing 15 posts - 16,966 through 16,980 (of 18,923 total)
I wouldn't wanna try...
My guess is that it will either stop (cool), or try to rollback (another 3 hours, minimum).
June 10, 2005 at 12:07 pm
Play with this :
Set reg = reg.NextRecordset
I think that you can access the errors only AFTER the last recordset has been loaded.
June 10, 2005 at 12:05 pm
Hey dude, you don't need to start 5 threads for the same question. You'll get your answer, don't worry.
June 10, 2005 at 12:03 pm
Sounds like homework to me...
Declare @value as int
select top 1 @value = col1
from tabl1
where (col2 = 666)
group by col1
Set @value = --do what you got to do with it.
June 10, 2005 at 12:02 pm
Why do you wanna start a holly was on a beautifull Friday afternoon?
I'm not gonna be a part of this.
For now
.
June 10, 2005 at 12:00 pm
I wouldn't, drop the data and reinsert... it'll take less time than to do multiple queries to insert/update/delete.
I've already done something like this and a straight reinsert is much faster,...
June 10, 2005 at 11:58 am
Ya... it's so obvious (when you think about it)
.
June 10, 2005 at 11:57 am
Another question... what is this supposed to filter?
AND tDocArchive.doa_batchorder%1 < 1
Can you rerun the queries and send us the execution plans
SET SHOWPLAN_TEXT ON
GO
Query1
GO
Query2
GO
SET SHOWPLAN_TEXT OFF
June 10, 2005 at 11:55 am
How many rows do you get if you remove that condition?
June 10, 2005 at 11:50 am
What can be modified?
Can you show us how you're gonna use this?
June 10, 2005 at 11:49 am
... and from my experience, and because of poorly coded application. I'd suggest you simply rebuild it instead of just tweaking it. You'll save plenty of time.
June 10, 2005 at 11:45 am
To name a few :
use "force plan"
use join hints.
make 2 different functions (1 for each set of params that need different plan).
The param trick you just learned.
Run the function...
June 10, 2005 at 11:43 am
why don't you put an identity column instead?it'll be done automatically.
June 10, 2005 at 11:43 am
Do you have access to the master database from that server? or a backup that could be restored?
Otherwise I think you're out of luck (unless you have the original mdf...
June 10, 2005 at 11:37 am
I always like this one... untill you remember that this can break applications if they use more than one database.
Is it possible to "close" all the database like when they...
June 10, 2005 at 11:35 am
Viewing 15 posts - 16,966 through 16,980 (of 18,923 total)