Forum Replies Created

Viewing 15 posts - 181 through 195 (of 206 total)

  • RE: Filtered Indexes

    I copied and pasted the code into SQL Server 2014 and got this:

    Msg 156, Level 15, State 1, Line 21

    Incorrect syntax near the keyword 'OR'.

    Msg 156, Level 15, State 1,...

  • RE: Would a Duress Password be a Good Idea?

    letting them configure a second password that would be a minor variation of the first – maybe one letter switched from lower to upper case

    I can't imagine what could pOssibly...

  • RE: TDE and In-Memory OLTP

    An interesting question, but slightly spoiled by the format of the answers (select three from five, where two pairs were mutually exclusive, meaning that the singleton must perforce be one...

  • RE: IMPLICIT_TRANSACTIONS vs BEGIN TRAN

    I would have found this easier if there had actually been a question.

  • RE: Counting values

    Stewart "Arturius" Campbell (1/14/2015)


    edwardwill (1/14/2015)


    Stewart "Arturius" Campbell (1/14/2015)


    edwardwill (1/14/2015)


    Actually, it returns:

    Msg 102, Level 15, State 1, Line 4

    Incorrect syntax near ','.

    what version of SQL Server are you using?

    2008 R2 SP1

    That...

  • RE: Counting values

    briankwartler (1/14/2015)


    edwardwill (1/14/2015)


    Actually, it returns:

    Msg 102, Level 15, State 1, Line 4

    Incorrect syntax near ','.

    Perhaps you are missing a comma?

    I copied the script from the site "as is".

  • RE: Counting values

    Stewart "Arturius" Campbell (1/14/2015)


    edwardwill (1/14/2015)


    Actually, it returns:

    Msg 102, Level 15, State 1, Line 4

    Incorrect syntax near ','.

    what version of SQL Server are you using?

    2008 R2 SP1

  • RE: Counting values

    Actually, it returns:

    Msg 102, Level 15, State 1, Line 4

    Incorrect syntax near ','.

  • RE: Find the Most Recent Post

    TomThomson (11/24/2014)


    It's one of those problems that we inevitablu have when writing specifications or requirements in natural languages, instead of using formal systems like Z or VDM; of course formal...

  • RE: Find the Most Recent Post

    The question asked:

    Which of the following will return only the Id of the most recent post for each Author?

    The correct answer should have been "None of the above", since...

  • RE: Update Identity column

    The update was incomplete as well. The requirement was to update two rows, so the SQL should have read

    SET IDENTITY_INSERT dbo.Roles ON

    UPDATE dbo.Roles

    SET RoleID=-3

    WHERE RoleID=-2;

    UPDATE dbo.Roles

    SET...

  • RE: Logical Query Processing order

    I don't often answer these questions, but of the few times I have, twice the answers have been wrong. Pretty poor proof-reading; wouldn't trust them with my database! 😀

  • RE: Logical Query Processing order

    I chose option 1 also.

  • RE: SETSPN

    A little bit too server-y, not enough SQL-y. But I got a point anyway.

  • RE: Create a stored procedure

    TomThomson (10/15/2014)


    As many have already pointed out, the "correct" answer is bunk. There will be a syntax error because "column" is a reserved word. So the only option...

Viewing 15 posts - 181 through 195 (of 206 total)