Viewing 15 posts - 1,306 through 1,320 (of 7,187 total)
CXPACKET just means you have parallelism. It doesn't on its own mean you have a problem with parallelism. Please don't blindly reduce parallelism just for the sake of it. How...
August 14, 2017 at 9:17 am
August 14, 2017 at 2:20 am
It may, or it may not. But if the query covers data that isn't uniformly distributed (lots more Johns than Jims), you're likely to see parameter sniffing. Setting optimize for...
August 11, 2017 at 9:16 am
No. If you're getting the plans by querying the DMVs for the plan cache, those don't have the actuals in them at all. They never do. They're compiled when the...
August 11, 2017 at 9:07 am
The easiest conclusion to draw is that you had a poor plan for the query you were running. Once you cleared the cache, the query recompiled with a better plan...
August 11, 2017 at 8:42 am
August 11, 2017 at 8:27 am
WITH Numbered AS (
SELECT
FieldSort1
, FieldSort2
, FieldSort3
, ROW_NUMBER() OVER (PARTITION BY FieldSort1 ORDER BY FieldSort2, FieldSort3) AS RowNo
FROM #TimeIncrements
)
SELECT
...
August 11, 2017 at 7:55 am
Arshad
The plans that are stored in cache are plans that are used for all executions of a particular query until the plan is evicted from cache. That's why...
August 11, 2017 at 7:46 am
August 11, 2017 at 7:07 am
You've posted in the SQL Server 2008 forum. Is that actually what you're using?
John
August 11, 2017 at 4:29 am
Type "algorithm that SQL server uses to determine the RANGE_HI_KEY" into your favourite search engine. That's what I did, and the second result looked as if it might contain something...
August 10, 2017 at 10:38 am
Brandie
Why not create a new variable called @DayNumTarget, set the value of that in your config file, and change the constraint to (@DayNum == DayNumTarget)?
John
August 10, 2017 at 5:34 am
You're getting the error because you're trying to force a result set into a scalar data type. Result sets can only be fed into a variable with data type Object....
August 10, 2017 at 2:18 am
I think Thom has already answered your question. But I'm not sure what the purpose of your stored procedures are, especially the first one. It sets the value of a...
August 9, 2017 at 4:36 am
Tom
I've never needed to do anything like that. But I imagine there's a registry key somewhere that determines how many recently used servers to remember in the Connect...
August 9, 2017 at 3:47 am
Viewing 15 posts - 1,306 through 1,320 (of 7,187 total)