Viewing 15 posts - 271 through 285 (of 325 total)
You got it right!
With the words of the poet Shakespeare: Much Ado About Nothing. Steve has done a little typo only.
The result is always 65, even if you run eg....
May 6, 2016 at 6:29 am
I'm surprised that in the BOL is stated: "Dates cannot be specified; therefore, the date part of the datetime value is not allowed." But the following script can be used...
May 2, 2016 at 5:15 pm
Thanks for this question. Perhaps even note that the vardecimal storage format is deprecated
and sp_estimated_rowsize_reduction_for_vardecimal is available in SQL Server Enterprise Edition only.
April 29, 2016 at 6:50 am
Thanks for this question Steve. Today I had to do with the question of a hard time, really dangerous.:-) Eventually helped me this article, which confirms that it is dangerous:...
April 27, 2016 at 9:35 am
Thanks Steve, it is striking that a high number of incorrect answers . Exactly the same question there was already March 21, 2016 and an article of the Stairway Series:...
April 13, 2016 at 6:48 am
Thanks for the interesting question. If you should really cover all the events on any table, it would be appropriate to use DDL_TABLE_VIEW_EVENTS.
April 11, 2016 at 5:09 am
New and interesting , thanks for this question Steve.
April 8, 2016 at 6:35 am
Thanks Horia, interesting question and good explanation. It may be useful when dealing with NULLs.
April 7, 2016 at 5:42 am
Ed Wagner (3/31/2016)
George Vobr (3/31/2016)
Toreador (3/31/2016)
George Vobr (3/31/2016)
It just shows that the result with the NULL is the same as 'NULL', nothing more.
I would have expected 'NULL' to be treated...
March 31, 2016 at 2:40 pm
Toreador (3/31/2016)
George Vobr (3/31/2016)
It just shows that the result with the NULL is the same as 'NULL', nothing more.
I would have expected 'NULL' to be treated as a string with...
March 31, 2016 at 4:33 am
Toreador (3/31/2016)
George Vobr (3/30/2016)
Try this:
SELECT TRY_CONVERT(XML, 'NULL');
The others I understand, but not this one!
Hi Toreador
It just shows that the result with the NULL is the same as 'NULL', nothing more.
Sincerely...
March 31, 2016 at 3:57 am
Thanks Steve for an interesting question. I have tried a variant, the result of which I couldn't answer without running the code in SSMS. Try this:
SELECT TRY_CONVERT(XML, NULL);
SELECT TRY_CONVERT(XML, 'NULL');
SELECT...
March 30, 2016 at 6:08 am
Thanks for a good explanation and an interesting reference link.
March 29, 2016 at 7:18 am
Viewing 15 posts - 271 through 285 (of 325 total)