Forum Replies Created

Viewing 15 posts - 271 through 285 (of 319 total)

  • RE: The .ORG mask

    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:...

  • RE: Auditing DDL Actions

    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.

  • RE: Forcing Plans in the Query Store

    New and interesting , thanks for this question Steve.

  • RE: ORDER BY ASC and NULLs last

    Thanks Horia, interesting question and good explanation. It may be useful when dealing with NULLs.

  • RE: Which properties exist?

    +1, Thanks Steve.

  • RE: Converting to XML

    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...

  • RE: Converting to XML

    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...

  • RE: Converting to XML

    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...

  • RE: Converting to XML

    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...

  • RE: Unique Constraints

    Thanks for a good explanation and an interesting reference link.

  • RE: Row Level Security Updates

    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.

  • RE: The SIGN

    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...

  • RE: Error Assitance

    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...

  • RE: The Email Mask

    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...

  • RE: QOTD Truncating Identity

    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 *...

Viewing 15 posts - 271 through 285 (of 319 total)