Viewing 15 posts - 646 through 660 (of 8,416 total)
Matt Miller (#4) (5/18/2012)
May 18, 2012 at 2:01 pm
Ensure you are running a recent build of 2008 R2. There were bugs that could result in a column being marked as NOT NULL when in fact it was...
May 18, 2012 at 1:43 pm
RBarryYoung (5/18/2012)
May 18, 2012 at 1:33 pm
RBarryYoung (5/18/2012)
As to why "dc.[definition]" is having this effect? No idea at all.
It is a MAX column. These are often handled differently internally (via pointers rather than copying)...
May 18, 2012 at 1:09 pm
The query plan without the TOP happens to feature a Sort operator (node 0) after the Compute Scalar (node 1) that defines the expression of interest. In the execution...
May 18, 2012 at 12:57 pm
Jeff Moden (5/18/2012)
Paul, where did you get the information about what the logical reads are by table type?
I wanted to give credit to the person that first wrote about this,...
May 18, 2012 at 9:58 am
Gullimeel (5/18/2012)
Sorry I did not ask question correctly. I forgot to ask is there a table or DMV where we could see this Memory Grant option for a given query.
May 18, 2012 at 7:25 am
The following paper will help you understand sorting internals. Please bear in mind that although the paper gives details that are very close to the SQL Server implementation, it...
May 18, 2012 at 7:22 am
Gullimeel (5/18/2012)
May 18, 2012 at 7:17 am
Received via private message:
Gullimeel (5/18/2012)Cost of Sorting
May 18, 2012 at 7:10 am
Gullimeel (5/18/2012)
I have made my stats tables highly optimized as well.
A user table can never be as optimized as the internal metadata caches. The optimizations I was referring to...
May 18, 2012 at 6:55 am
Grant Fritchey (5/18/2012)
It's not on all systems. This works fine in Adventureworks...
Here's an Adventure Works example, in case it is helpful:
SELECT
sod.SalesOrderID,
th.TransactionID
FROM Production.TransactionHistory...
May 18, 2012 at 6:16 am
john.p.lantz (5/17/2012)
select * from table1 a
join table2 bon a.id_rssd = b.id_rssd
left...
May 18, 2012 at 6:03 am
Gullimeel (5/17/2012)
May 18, 2012 at 4:56 am
Jeff Moden (5/17/2012)
May 17, 2012 at 11:33 pm
Viewing 15 posts - 646 through 660 (of 8,416 total)