A MERGE statement can fail, and incorrectly report a unique key violation when:
* The target table uses a unique filtered index; and
* No key column of the filtered index is updated; and
* A colum…
Created on 12/9/2012 (updated 3 weeks ago) | 4 validations | 0 workarounds | 1 comment | feedback id: 773895
|
|
In SQL Server 2005, a filtering condition on a column retrieved from a Key Lookup is applied in an explicit Filter operator after an apply join. In SQL Server 2008 onward, this filter can be pushed d…
Created on 10/14/2012 (updated 8 weeks ago) | 7 validations | 0 workarounds | 1 comment | feedback id: 767395
|
|
|
Closed
as Won't Fix
|
|
Simple parameterization of a char column that is the partitioning column for a table prevents partition elimination when a literal value is used in a predicate on that column, unless an explicit cast …
Created on 9/11/2012 (updated 4 weeks ago) | 2 validations | 1 workaround | 3 comments | feedback id: 762219
|
|
|
Resolved
as Won't Fix
|
|
Based on my post at bit.ly/TempTables:
When a temporary table in a stored procedure is cached, any statistics created by AutoStats are also cached. This leads to odd effects when a query in the proc…
Created on 8/15/2012 (updated 3 weeks ago) | 7 validations | 0 workarounds | 9 comments | feedback id: 758241
|
|
|
Closed
as Won't Fix
|
|
DBCC CHECKTABLE raises a consistency error for denormal REAL values, but not denormal FLOAT values.
CREATE TABLE dbo.TestRealDenormal (col1 real NULL);
CREATE TABLE dbo.TestFloatDenormal (col1 float …
Created on 7/3/2012 (updated 31 weeks ago) | 1 validation | 0 workarounds | 2 comments | feedback id: 752245
|
|
|
Closed
as Duplicate
|
|
An index seek into a partitioned table on the inner side of a correlated nested loops join is incorrectly costed as if it touches every partition, where dynamic elimination is achieved via an outer re…
Created on 6/20/2012 (updated 4 weeks ago) | 1 validation | 0 workarounds | 2 comments | feedback id: 750169
|
|
|
Resolved
as Won't Fix
|
|
In SQL Server 2008 onward, a parallel plan that includes a final TOP in a serial zone may exhibit very poor performance at DOP > 2.
The early end to processing signalled by the TOP may not be honoure…
Created on 5/2/2012 (updated 1 week ago) | 9 validations | 0 workarounds | 4 comments | feedback id: 740234
|
|
|
Resolved
as Won't Fix
|
|
The COALESCE (Transact-SQL) topic [http://msdn.microsoft.com/en-us/library/ms190349(v=sql.110).aspx] contains this in the Remarks section:
ISNULL and COALESCE though equivalent, can behave differentl…
Created on 3/13/2012 (updated 23 weeks ago) | 1 validation | 0 workarounds | 3 comments | feedback id: 731028
|
|
In SQL Server 2008, the optimizer is able to push suitable predicates below a sequence project. In 2008 R2, pushing selections is broken for sequence projections that require a segment apply, namely …
Created on 2/29/2012 (updated 2 days ago) | 1 validation | 0 workarounds | 0 comments | feedback id: 727419
|
|
The following Adventure Works query generates a plan with a partial aggregate in a serial execution plan (cost threshold for parallelism at the default value of 5):
SELECT
COUNT_BIG(*)
FROM Produ…
Created on 12/5/2011 (updated 3 weeks ago) | 2 validations | 0 workarounds | 2 comments | feedback id: 711685
|
|