Forum Replies Created

Viewing 15 posts - 16 through 30 (of 223 total)

  • Reply To: Necessary Insert Columns

    Steve Jones - SSC Editor wrote:

    Part of the QotD is knowing defaults. This was left off, as many people do this and the default is to allow NULLs.

    As a good practice, however, I agree....

  • Reply To: Necessary Insert Columns

    Just to nit-pick: This will depend on the settings of ANSI_NULL_DEFAULT_OFF / ANSI_NULL_DEFAULT_ON for the session, or by the ANSI_NULL_DEFAULT database option. By default, these will be set such that...

  • Reply To: EXCEPT

    Carlo Romagnano wrote:

    Of course the isolation level of the database should be as in the image

    1

    Of course! That's obviously clear from the questionđŸ˜‹

  • Reply To: EXCEPT

    I would argue that in principle the explanation is correct. However, in the example given, this would result in zero rows, unless a very specific set of conditions are met....

  • Reply To: Changing the TDE Encryption

    Maybe it's a good idea to refrain from answering this until the correct answer has been reviewed...

  • Reply To: My New Resolution

    leonardo.ssantos79 wrote:

    But the question was ONLY the year, and the year function (getdate()) doesn't do that?

    It does, but there are two problems with that:

    1. It's not among the given alternatives
    2. ...

  • Reply To: My New Resolution

    Easy enough. But I would personally assign whoever created that table with DATETIME instead of DATE to toilet cleaing duty for a week...

  • Reply To: My New Resolution

    Well, there's usually not much real body to New Year's resolutions...

  • Reply To: Database Snapshot Sparse Files

    Brilliant! So now those of us who answered master_files are flagged as giving a completely incorrect answer, rather than an equally correct alternate answer.

  • Reply To: Database Snapshot Sparse Files

    I concur.

  • Reply To: Default Masking

    Dearie me!

    Reading the exact same doccumentation pointed out in the reference, I deduced that the result should be 'x' for the single char column, and 'xxxx' for the longer column,...

  • Reply To: Concatenating Dynamic SQL

    Yeah, I think I'll sit this one out for a bit...

  • Reply To: Index fragmentation on all databases

    Ooops!

     

    This isn't the first time I've accidentally clicked on the "Featured Script" link instead of the "Question of the Day" link. And to add to my confusion, I misread  "Can...

  • Reply To: Index fragmentation on all databases

    You know, I kind of prefer the kinds of questions where there is a way to answer the question đŸ˜€

  • Reply To: Sorting in R

    Well, this doesn't make sense. If 'radix' sort is named the fastest method for vectors of integers, and this is the method selected for those when 'auto' is specified, then...

Viewing 15 posts - 16 through 30 (of 223 total)