Viewing 15 posts - 7,351 through 7,365 (of 26,490 total)
I just rewrote the first query a second time:
Select top 1000
a.*
from
doclist a
where
a.doccode not in...
June 12, 2013 at 7:57 am
mrbonk (6/11/2013)
Why does this first query perform so much worse than the second one?
First query:
with doc_index As
(Select ROW_NUMBER() Over (Order By docdate desc, docid...
June 12, 2013 at 7:28 am
Krishna1 (6/11/2013)
What you have mentioned is exactly what is present in the procedure. So in such situation we can not view the rows from the Remarks table till the...
June 12, 2013 at 7:02 am
vishalsurya50 (6/11/2013)
Last week we increased RAM and processors. now ,In our environment we have 2 processors,6 cores and hyper threading present ,so a total of 24 processors (6*2*2) available...
June 11, 2013 at 2:11 pm
Duplicate post. Please post any responses here.
Please don't make multiple posts. It will simply fragment any responses you may get regarding your problem.
June 11, 2013 at 2:11 pm
Why do you show us what you have tried so far. That way we know where you are at and where you are having difficulties.
June 11, 2013 at 9:42 am
Sean Lange (6/11/2013)
Lynn Pettis (6/11/2013)
Sean Lange (6/11/2013)
declare @MyDate datetime = '2013-03-08'
--set @MyDate = '2014-08-08'
set @MyDate = dateadd(month, 3, dateadd(yy, datediff(yy, 0, @MyDate), 0)) --gets April 1st for...
June 11, 2013 at 9:21 am
Sean Lange (6/11/2013)
declare @MyDate datetime = '2013-03-08'
--set @MyDate = '2014-08-08'
set @MyDate = dateadd(month, 3, dateadd(yy, datediff(yy, 0, @MyDate), 0)) --gets April 1st for the current year.
select dateadd(wk,...
June 11, 2013 at 9:09 am
krypto69 (6/11/2013)
No. I haven't used maintenance plans in years, but iirc you can setup the maintenance plan to delete old backups that are more than a set number of days...
June 11, 2013 at 9:08 am
Well, seeing as we can't see what you see it is hard to give you a really good answer instead of a shot in the dark.
June 11, 2013 at 9:07 am
I stick with my original suggestion, write a stored procedure that does the work with elevated permissions based on data passed into the procedure and give your co-worker execute permission...
June 11, 2013 at 9:00 am
Perry Whittle (6/11/2013)
The mirror may not always be...
June 11, 2013 at 8:57 am
No. I haven't used maintenance plans in years, but iirc you can setup the maintenance plan to delete old backups that are more than a set number of days...
June 11, 2013 at 8:48 am
Are you using compression at the row or page level in your database? If you are then the data would be compressed in the tables and/or indexes but I...
June 11, 2013 at 8:38 am
Looks to me that you may need to write a procedure that is granted the necessary privileges to accomplish this task for the Jr DBA's based on information they pass...
June 11, 2013 at 8:31 am
Viewing 15 posts - 7,351 through 7,365 (of 26,490 total)