Viewing 15 posts - 271 through 285 (of 319 total)
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
The question is imprecisely worded. In the question does not mention that the bsmith user has rights to insert/update the table.
Last time it was there.
March 28, 2016 at 5:09 pm
sknox Posted Today @ 1:22:41 PM
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...
March 25, 2016 at 8:33 am
rcooper 78099
Posted 3/22/2016 9:56:36 PM
Msg 156, Level 15, State 1, Line 16
Incorrect syntax near the keyword 'from'.
Into Your original code, I added some notes.
Select
pc.accountnbr 'account number',
qf.description...
March 24, 2016 at 6:00 pm
Thanks Steve, that you teach us by small steps to learn about the Dynamic Data Masking. On 03/08/2016 it was about masking data type varchar. There was a reference...
March 21, 2016 at 11:48 am
Thank you for this interesting question. After TRUNCATE TABLE is the table empty. DBCC CHECKIDENT on an empty table returns null.
USE TestDB;
GO
CREATE TABLE Audit_Logins (ID INT IDENTITY, Name varchar(10));
SELECT *...
March 10, 2016 at 5:32 pm
Viewing 15 posts - 271 through 285 (of 319 total)