Viewing 15 posts - 436 through 450 (of 1,999 total)
Just a question about flushing temp tables.
From what I have experienced, if a routine creates one or more temp tables on the first run, these are just used again...
January 29, 2020 at 4:18 pm
Just a thought,
every post I've replied to in the last few weeks has had updates and new info from pretty much the same bunch of people on here.
Grant, Jeff,KTFlash, Jonathan...
January 29, 2020 at 3:20 pm
How can I force Sql Server to not use the cache or other optimizations so that the same query always takes the same amount of time? When trying to...
January 29, 2020 at 2:07 pm
Also, thinking on this, are you saying that the query and the view are the same, but the view is slower? Or are you saying that you wrote a...
January 29, 2020 at 1:58 pm
Declare @DBID Int Set @DBID = DB_ID ()
Checkpoint
DBCC DROPCLEANBUFFERS WITH NO_INFOMSGS
DBCC FLUSHPROCINDB (@DBID) WITH NO_INFOMSGS
That will clear execution plans and data from memory, which would be...
January 29, 2020 at 1:55 pm
I found a sql agent job that was pre-running the reports at 8am to get them in cache and give the illusion of performance
I am confused, this...
January 29, 2020 at 1:46 pm
the situation at my end is that begin can be less than equal to or greater than equal to. and by logic works for it , only thing is,...
January 29, 2020 at 12:10 pm
as long as I can use scalar value function inlining and the new table variable cardinality estimation then i'm happy
January 29, 2020 at 12:04 pm
For "may be" read "very often is".
Would you go further to say that if a query does run far more quickly the second time it runs, one of many...
January 29, 2020 at 11:25 am
I've just had a little cry in the corner, rocking back and forth
a few years ago I walked into a new job and was told that a certain system had...
January 29, 2020 at 11:20 am
would using 2019 compatability mode, but setting the "legacy cardanility" option on be a wise idea?
January 29, 2020 at 11:04 am
the only problem I've found with scripting this stuff out is that locks are quite transient - you spot them and then they disappear (this is a good thing ,...
January 29, 2020 at 10:56 am
Can I run a where statement on sp_who2 then a delete to "kill" that process? I get the same issues with the master.dbo.sysprocesses. How do I remove the record...
January 28, 2020 at 5:24 pm
if you have the pleasure of dealing with Amazon RDS - activity monitor will never work, good job i'm used to good old fashioned commands like
sp_who2
sp_lock
select * from master.dbo.sysprocesses
January 28, 2020 at 5:11 pm
we're all going to ask the same thing - can you upload a query plan - I would suspect a missing index or the group by dateadd function….
without seeing the...
January 28, 2020 at 4:18 pm
Viewing 15 posts - 436 through 450 (of 1,999 total)