Viewing 15 posts - 1 through 15 (of 105 total)
Yes, the optimiser assumes only one row in a table variable.
June 23, 2011 at 11:30 am
Always the next version eh? The consumerist dream!
Given our deadline and success of the POC we have decided to push on. Thanks for the input though - it's very useful...
May 5, 2011 at 6:03 am
By debug I mean watch the little boxes turn green or red in BIDS 😉
My point is that if execution of a parent package highlights a problem with a child...
May 5, 2011 at 3:10 am
Thanks Koen
We've considered that option and it's on the Plan B List.
Principle problems are:
* It is not possible to debug the project as a whole in that configuration.
* Each tier...
May 5, 2011 at 1:13 am
Whoops!
SQL Server 2005
BIDS 2005
May 4, 2011 at 9:31 am
Plus, inserts in to a heap are not necessarily fastest:
February 15, 2011 at 3:29 am
Gail is right - the root and intermediate index levels store only key range boundary values since all they are required for are routing to the relevant next page. There...
January 28, 2011 at 9:22 am
GilaMonster (1/7/2011)
Do note though, max on a column that's not indexed will have to read everything, cause it can't just read to the last page in the index.
Which is interesting...
January 7, 2011 at 5:09 am
paul.knibbs (1/7/2011)
GilaMonster (1/7/2011)
Try them out with statistics IO on and compare the logical reads with the number of pages in the table.
I just did that test and I got 2...
January 7, 2011 at 4:30 am
When an index scan is done by the query processor, it is always a full read of all of the leaf pages in the index, regardless of whether all of...
January 7, 2011 at 3:36 am
This is ok though:
SELECT * FROM T1
OUTER APPLY (SELECT * FROM T2 WHERE T1.SomeVal = T2.SomeVal) a
...
December 29, 2010 at 7:22 am
Not in 2005. Since your code is 2008 I assume things changed....
December 29, 2010 at 7:21 am
Thanks Grant - that is what I was trying to do. However, AFAIK you cannot use a join hint for an OUTER APPLY and I know you can't use one...
December 29, 2010 at 6:44 am
Changing this from an OUTER APPLY to a LEFT OUTER JOIN with ROW_NUMBER curiously made the optimiser use a HASH JOIN for the anti-semi join so the hint is not...
December 29, 2010 at 5:24 am
INSERT INTO <table> WITH (TABLOCK)
will minimally log in the same way SELECT .... INTO
will by default.
December 17, 2010 at 2:33 am
Viewing 15 posts - 1 through 15 (of 105 total)