For the query
SELECT x.*
FROM T1 org
CROSS APPLY (SELECT TOP (50) PERCENT *
FROM T2
WHERE OrganizationID = org.OrganizationID) x;
the results dif…
Created on 2/1/2013 (updated 7 weeks ago) | 0 validations | 1 workaround | 4 comments | feedback id: 778200
|
|
|
Closed
as By Design
|
|
From http://msdn.microsoft.com/en-us/library/ms174979.aspx
"A column of type varchar(max) can participate in a FOREIGN KEY constraint only if the primary key it references is also defined as type var…
Created on 1/2/2013 (updated 19 weeks ago) | 0 validations | 0 workarounds | 1 comment | feedback id: 775598
|
|
From http://msdn.microsoft.com/en-us/library/ms188124.aspx
ANSI NULL Default
Specify the default behavior of the Equals (=) and Not Equal To (<>) comparison operators when used with null values. Pos…
Created on 12/18/2012 (updated 20 weeks ago) | 0 validations | 0 workarounds | 1 comment | feedback id: 774632
|
|
The documentation here http://msdn.microsoft.com/en-us/library/ms190273.aspx indicates various restrictions for ALTER TABLE ... ALTER COLUMN including the following.
The modified column cannot be ...…
Created on 10/20/2012 (updated 29 weeks ago) | 0 validations | 0 workarounds | 1 comment | feedback id: 768134
|
|
Repro has three different queries of the following form
insert into #t
output inserted.a into #inserted_into
values ('a'),('b');
select scope_identity()
If only #t has an IDENTITY column defined …
Created on 10/2/2012 (updated 11 weeks ago) | 1 validation | 0 workarounds | 2 comments | feedback id: 765809
|
|
|
Closed
as Won't Fix
|
|
The documentation here http://msdn.microsoft.com/en-us/library/ms189781.aspx gives the syntax
SET FIPS_FLAGGER 'level'
It should presumably be
SET FIPS_FLAGGER ( 'level' | OFF )
I spent a small…
Created on 9/28/2012 (updated 31 weeks ago) | 0 validations | 0 workarounds | 1 comment | feedback id: 765187
|
|
|
Closed
as Fixed
|
|
Repro shows an example where 100% of the table rows match a predicate, the statistics are updated with full scan and accurate but the estimated number of matching rows is orders of magnitude too small…
Created on 9/17/2012 (updated 34 weeks ago) | 2 validations | 0 workarounds | 3 comments | feedback id: 763060
|
|
BOL Currently states "You should only depend on order of evaluation of the WHEN conditions for scalar expressions (including non-correlated sub-queries that return scalars), not for aggregate expressi…
Created on 7/9/2012 (updated 3 weeks ago) | 0 validations | 0 workarounds | 2 comments | feedback id: 752873
|
|
|
Closed
as Won't Fix
|
|
The documentation (http://technet.microsoft.com/en-us/library/ms189472.aspx) says for user_id
Value of -2 indicates that the batch submitted does not depend on implicit name resolution and can be sh…
Created on 6/4/2012 (updated 1 week ago) | 0 validations | 0 workarounds | 1 comment | feedback id: 746261
|
|
SELECT PATINDEX('%[a-]%', N'aaa-def' COLLATE Latin1_General_BIN),
PATINDEX('%[-a]%', N'aaa-def' COLLATE Latin1_General_BIN),
PATINDEX('%[a-]%', 'aaa-def' COLLATE Latin1_General_BIN),
…
Created on 5/20/2012 (updated 18 weeks ago) | 0 validations | 0 workarounds | 4 comments | feedback id: 742841
|
|
|
Closed
as Won't Fix
|
|