Viewing 15 posts - 31 through 45 (of 54 total)
June 28, 2018 at 8:02 pm
Any time you're doing a CAST and there is uncastable data in a column, you should use TRY_CAST. If TRY_CAST isn't available, the CAST should be wrapped in a CASE...
May 15, 2018 at 10:33 am
First off, there is no need for the convoluted case statement. TRY_CAST returns the succesful CAST when successful and returns NULL when unsuccessful, so the following would have been simpler...
April 30, 2018 at 12:36 pm
This DBA has it easy - I only saw one application described in the story! They should be supporting at least half-a-dozen large databases that are this problematic, and dozens...
April 24, 2018 at 10:35 am
Steve Yegge's (in)famous Google Platforms Rant from 2011 is a fascinating read, but I walked away with a number of important observations from it, one of which was:
April 9, 2018 at 10:28 am
Another minor (admittedly nit-picky) note. On Page 72 I found, "Since both tables can potentially be scanned, the maximum cost of a Merge Join is the sum of both inputs." ...
April 6, 2018 at 6:37 pm
A minor (and admittedly nit-picky) note on the book. On page 64, the following code shows up:SELECT DISTINCT(Title)
FROM HumanResources.Employee
SELECT Title
FROM HumanResources.Employee
GROUP BY Title
I...
April 6, 2018 at 6:17 pm
April 5, 2018 at 10:56 am
April 2, 2018 at 10:27 am
The advantages of this syntax are that it lets you compare two output streams to identify rows that differ, and that it treats NULLs as being equivalent. EXCEPT and INTERSECT...
March 29, 2018 at 11:09 am
This strikes me as similar to the use of the VALUES clause in unpivoting data.
March 19, 2018 at 10:50 am
I think the assertion that "standard indexes" will improve JSON performance is misleading. That is only the case if "standard indexes" includes indexing on computed columns. Sticking a normal index...
February 26, 2018 at 11:00 am
I think it's important to point out why SHOWPLAN cannot be granted at the object level. The critical point is that views don't have plans! A view is not a query...
February 1, 2018 at 8:31 pm
I definitely misinterpreted the question - I read it as "Which operator in the WITH clause results in more rows in the results than would be in in the set in...
December 14, 2017 at 10:48 am
Viewing 15 posts - 31 through 45 (of 54 total)