Forum Replies Created

Viewing 15 posts - 31 through 45 (of 235 total)

  • Reply To: Changing the TDE Encryption

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


    Just because you're right doesn't mean everybody else is wrong.

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


    Just because you're right doesn't mean everybody else is wrong.

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


    Just because you're right doesn't mean everybody else is wrong.

  • Reply To: My New Resolution

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


    Just because you're right doesn't mean everybody else is wrong.

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


    Just because you're right doesn't mean everybody else is wrong.

  • Reply To: Database Snapshot Sparse Files

    I concur.


    Just because you're right doesn't mean everybody else is wrong.

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


    Just because you're right doesn't mean everybody else is wrong.

  • Reply To: Concatenating Dynamic SQL

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


    Just because you're right doesn't mean everybody else is wrong.

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


    Just because you're right doesn't mean everybody else is wrong.

  • 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 😀


    Just because you're right doesn't mean everybody else is wrong.

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


    Just because you're right doesn't mean everybody else is wrong.

  • Reply To: How Many Rows Inserted?

    Interesting.

    How I parsed this is :

    • The explicit BEGIN TRAN increases the @@TRANCOUNT to 1.
    • The INSERT increases it to 2.
    • The COMMIT decreases it to 1
    • The SELECT ......


    Just because you're right doesn't mean everybody else is wrong.

  • Reply To: Finding the last month's values

    As far as I can tell, there are actually two correct answers to this one. Both

    LEAD(currMonthSales) OVER (ORDER BY saleyear DESC, salemonth DESC) AS prevSales

    and


    Just because you're right doesn't mean everybody else is wrong.

  • Reply To: Self-numbered primary key creation

    I'm sorry, but I just don't understand what is being asked here.


    Just because you're right doesn't mean everybody else is wrong.

  • Reply To: Enumerate the Python List

    Doh!

    Didn't spot the start at 1 condition. More coffee!


    Just because you're right doesn't mean everybody else is wrong.

  • Viewing 15 posts - 31 through 45 (of 235 total)