Viewing 15 posts - 31 through 45 (of 286 total)
jCoke (2/5/2016)
any ideas on why its so slow?
This issue is so easy to trace. At least to pinpoint the specific query(s) that takes most of the time. Are you familiar...
February 5, 2016 at 3:06 pm
HanShi (2/5/2016)
This code will read the default trace and extract the autofilegrowth events from it. It will specify how many autogrowth events took place and on which file(s).
Unfortunately if auto-grow...
February 5, 2016 at 1:35 pm
In short, different parameter values can generate different execution plans.
There is a very good article on that topic: Slow in the Application, Fast in SSMS?
February 3, 2016 at 1:41 pm
ffarouqi (1/29/2016)
January 29, 2016 at 2:38 pm
ffarouqi (1/29/2016)
January 29, 2016 at 1:10 pm
Orlando Colamatteo (1/29/2016)
Alexander Suprun (1/29/2016)
It's not a very good practice to drop and re-create procedures.Curious on your resaoning, why do you say so?
Because when you drop procedure you also drop...
January 29, 2016 at 12:06 pm
It's not a very good practice to drop and re-create procedures. You may want to use this approach instead:
IF OBJECT_ID ('dbo.ProcedureName', 'P') IS NULL
BEGIN
EXECUTE ('CREATE PROCEDURE dbo.ProcedureName...
January 29, 2016 at 11:39 am
Your description is totally unclear, but I assume you need something like this:
SELECT
CASE WHEN
(CASE WHEN preMisc1 = 1 AND postMisc1 = 1 THEN 1 ELSE 0 END +
CASE...
January 27, 2016 at 5:26 pm
NicHopper (1/22/2016)
January 22, 2016 at 12:48 pm
SQL-DBA-01 (1/18/2016)
How to search this key value (@keyValue) in the code?APPLICATION: 7:0:[TMsgRefs1]:(8886087a)
Where do you see a "KEY"?
It's an - APPLICATION lock. Caused by sp_getapplock procedure in DB_ID = 7...
January 22, 2016 at 11:38 am
GilaMonster (1/21/2016)
January 21, 2016 at 3:58 pm
It's actually quite strange why optimizer decides to scan the whole index instead of performing few hundred seeks of the same index. May be statistics is not updated or the...
January 20, 2016 at 5:34 pm
rarara,
What you are saying makes no sense to me. I would strongly suggest you to review your maintenance tasks, because it feels like you have no idea what you are...
January 19, 2016 at 3:54 pm
Try "External Data -> Linked Table Manager".
January 12, 2016 at 3:10 pm
If your query is still in the cache then you might be lucky enough to find it in this DMV sys.dm_exec_query_stats
And then by looking at creation_time, execution_count and total_worker_time columns...
January 11, 2016 at 5:35 pm
Viewing 15 posts - 31 through 45 (of 286 total)