Forum Replies Created

Viewing 15 posts - 556 through 570 (of 825 total)

  • RE: Commenting in Dynamic query

    paul.knibbs (8/3/2012)


    All you've proved there is that a 45-character string can't ever be longer than 45 characters. Try adding PRINT @STR1 and you'll see that the string has lost the...

  • RE: Commenting in Dynamic query

    Koen Verbeeck (8/3/2012)


    Indeed, the correct answer is 1,0,1,error, because the last query produces a syntax error. Shame, because it was a pretty good question otherwise.

    Points back please 🙂

    No, the last...

  • RE: Rename column

    You can't rename a PERSISTED computed column, too!

    Why?

  • RE: Snapshots

    I poke the wrong answer, but I learned something new.

    Thanks.

    😀

  • RE: Database

    Good: Correct answers: 95% (70)

    I never saw a qotd with 100% of correct answers.

  • RE: NULLIF 1

    By the way:

    I often use NULLIF when 3rd party application use MAGIC VALUES instead of NULL.

    e.g. 1799-12-31 stands for NULL DATETIME.

    Here's a generic example to get an actual...

  • RE: NULLIF 1

    Koen Verbeeck (6/25/2012)


    Small error: the select statement selects 4 columns, the answers have only 3.

    BIG ERROR: I answered thinking at the first 3 columns, so that Y would return without...

  • RE: Database size in SQL Server 2012

    tommyh (6/19/2012)


    If one wants be really picky "Depends on File System" is actually the right answer.

    You can install 2012 on FAT32

    /T

    Is FAT32 still alive?

    FAT32 is deprecated because of...

  • RE: Index defaults 1

    Great question.

    Hugo, you are the number ONE!

    Thanks.

    😀

  • RE: Transaction isolation

    Good question!

  • RE: Sequences I

    Koen Verbeeck (4/17/2012)


    Carlo Romagnano (4/17/2012)


    I am curious to know how many developpers will use default value for "START WITH". In most cases will be a negative number.

    They will all be...

  • RE: Sequences I

    I am curious to know how many developpers will use default value for "START WITH". In most cases will be a negative number.

  • RE: Bulk Logged recovery model

    Nakul Vachhrajani (4/15/2012)


    The way I interpreted the question was:

    1. Database is in full-recovery mode

    2. User foresees bulk-operations (i.e. to be performed sometime in the future)

    3. User therefore changes the database...

  • RE: VIEWS 6

    I do not like this kind of EXTREMELY easy questions.

    😀

  • RE: Foreign key

    Another tricky and bad worded question.

    In the earlier versions of any DBMS, the foreign key was implemented thru triggers.

    So the answer should be "YES, implemented by trigger."

    Or change the question:...

Viewing 15 posts - 556 through 570 (of 825 total)