Viewing 15 posts - 91 through 105 (of 454 total)
D'oh! Need to think before I answer.
OF COURSE it does a full scan. SQL Server already has to do a full scan to rebuild the index. Since that's the expensive...
June 23, 2016 at 7:09 am
The given answer doesn't match up with the reference material. The question reads:
...what costs do you incur for querying the data stored in Azure?
From the linked reference:
Stretch Database bills Compute...
June 16, 2016 at 11:32 am
This (and MERGE) is why I have begun the habit of separating my statements with semicolons on their own line:
BEGIN
MERGE INTO
....
;
WITH CTE AS ...
;
END
This makes the semicolons more obvious, and...
June 6, 2016 at 6:51 am
May 17, 2016 at 12:10 pm
Hugo Kornelis (4/7/2016)
Stewart "Arturius" Campbell (4/6/2016)
Interesting, never thought of doing it that wayNice question, thanks Horia
Nor should you. In production code, I would always write out the explicit intent instead...
April 7, 2016 at 7:07 am
Good question, but the explanation is wrong on one point:
The MIN() and MAX() functions are aggregates, therefore the NULL is eliminated.
is not true.
The reason the NULL is eliminated...
March 25, 2016 at 6:22 am
While answer #4 is a true statement (and so is #1, as others have mentioned), it doesn't really answer the question.
WHY should you not set ANSI_NULLS to OFF?
Because SET...
March 15, 2016 at 8:09 am
Kaye Cahs (3/11/2016)
I'm not arguing that the answer is incorrect....
March 11, 2016 at 9:04 pm
emiddlebrooks (3/4/2016)
Why not start it at max negative and use the negative side as well? Then you would have almost twice as many...
Almost twice as many?
My math says that...
March 4, 2016 at 11:33 am
Bob JH Cullen (2/23/2016)
February 23, 2016 at 8:46 am
TomThomson (2/19/2016)
Sometimes the...
February 19, 2016 at 6:54 am
John Mitchell-245523 (1/8/2016)
January 8, 2016 at 9:31 am
Iwas Bornready (12/21/2015)
I am assuming that if you don't specify a value to be used in case there is no next year, that it returns zero as the default.
No. If...
December 21, 2015 at 12:55 pm
I have never been so glad to get a question wrong.
Having never seen the WHERE *= syntax before, I assumed it was a new thing and picked what I...
December 17, 2015 at 8:28 am
patrickmcginnis59 10839 (12/16/2015)
tom.w.brannon (12/16/2015)
I don't understand why non-clustered is required. While not a best practice, why couldn't you include the non-key columns in the definition of the clustered index?
I'm...
December 16, 2015 at 8:36 am
Viewing 15 posts - 91 through 105 (of 454 total)