Forum Replies Created

Viewing 15 posts - 196 through 210 (of 658 total)

  • RE: Default schema

    Sean Lange (3/31/2014)


    as posted the user absolutely does NOT belong to sysadmin because it was not in the code provided. If it is ok to assume that somebody added this...

  • RE: Default schema

    Lynn Pettis (3/31/2014)


    There is nothing in the question to tell us that the login has been granted sysadmin privileges on the server.

    Nor is there anything to say that it hasn't,...

  • RE: Default schema

    James Lean (3/31/2014)


    The script doesn't mention anything about the creation of king_login, so it is implied that this login already exists. In that case, we cannot assume that it...

  • RE: What is (Null='Hello') in Sql Server

    danielfountain (3/27/2014)


    Am I the only one who thinks that is the expected behaviour?

    No. I almost guessed something different as these questions very rarely have the obvious option as the answer...

  • RE: The Unusable User

    It's possible that he is in the wrong context, but we'll assume based on the intro that he is in the correct place.

    Nope, based on the preamble

    first confirming the...

  • RE: Replication between SQL Server versions

    Richard Warr (3/19/2014)


    If you didn't know anything about replication you'd say that the first option was pretty much the same as the last one so you'd select option 2.

    That's what...

  • RE: Schema & Renaming Fun

    Interesting question, just a shame that it's let down (as QOTDs so often are) by case inconsistencies.

    On a case sensitive database you get several errors and end up with a...

  • RE: T-SQL SELECT..INTO

    free_mascot (3/11/2014)


    Yes, initially I have drafted the question straight forward but it looks very simple. Deliberately make it complicated by tricky language to make challenging.

    Usually everyone knows correct answer...

  • RE: T-SQL SELECT..INTO

    Took a lot of thinking to work out all those double negatives!

  • RE: Intersecting - 1

    RLilj33 (2/26/2014)


    Equivalent to:

    SELECT X AS 'Intersecting'

    FROM A

    JOIN b ON b.y = a.x;

    Except the ordering. INTERSECT returns the values in...

  • RE: Intersecting - 1

    Of course the correct answer isn't an option. It fails with an error saying that column X does not exist...

  • RE: Intersecting - 1

    2 points!

  • RE: Logic Precedence

    Didn't know whether OR or AND had priority, so guessed (correctly 🙂 )

    It's not something I've ever really needed to know, doesn't everyone use brackets in cases like this, to...

  • RE: I No Longer Have Access to My DB and I'm a DBCreator!

    Interesting question, but the title meant it was easy to get the right answer.

    Though it looks like almost half the people who answered didn't read the title 😉

  • RE: New Year's Eve

    Revenant (12/31/2013)I thought it was understood that QotDs assume default SQL Server installation settings - if we veered off into region-specific settings, QotDs would have to have a dozen lines...

Viewing 15 posts - 196 through 210 (of 658 total)