Forum Replies Created

Viewing 15 posts - 1,261 through 1,275 (of 3,348 total)

  • RE: Risks of NOLOCK, part 2

    Ed Wagner (11/3/2015)


    Stewart "Arturius" Campbell (11/3/2015)


    Ed Wagner (11/3/2015)


    edwardwill (11/3/2015)


    One of the options is missing a checkbox

    Yes. The third checkbox looks like it should be split into two separate checkboxes.

    You'll...

  • RE: Risks of NOLOCK, part 1

    Kim Crosser (11/2/2015)


    Yes - it is a "kludge", but it works and is effective, and when used properly is safe.

    I, too, think that NOLOCK certainly has its uses. You just...

  • RE: Risks of NOLOCK, part 1

    TomThomson (11/2/2015)


    I got this one wrong because I reckoned that when there is no concurrent activity the saving from not requesting shared locks is so small as to be...

  • RE: Risks of NOLOCK, part 1

    Pei Zhu-415513 (11/2/2015)


    I did not get "Nolock CAN cause the query to return data that violates constraints". I thought that constraints are checked first before any insert/update etc. Could you...

  • RE: Risks of NOLOCK, part 1

    g.britton (11/2/2015)


    Great question, Hugo! Do you have any measurements on just how much READUNCOMMITTED (I don't like the synonym NOLOCK since it is an oxymoron -- that is, schema...

  • RE: Risks of NOLOCK, part 1

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


    Good question, thanks Hugo

    Another side-effect: any records that are exclusively locked by another process may be skipped, thus returning an incomplete result set.

    Thanks, Stewart!

    Your remark is incorrect,...

  • RE: To view or not to view, that is the question.

    I like the question. Good reminder of the intricacies of working with views.

    There is a small mistake in the explanation, though. Changing data types will not cause conversion errors in...

  • RE: More wildcard searches

    freyes (10/28/2015)


    I tink the question must include the collation, because if the collation is case sensitive the answer will be 2.

    It would actually be 3 in a case sensitive collation....

  • RE: SQLCMD connection switching

    wally 96967 (10/27/2015)


    However nowhere does it say we start in Server2/Instance1

    It doesn't, but that is not really relevant. When parsing the batch, SSMS will execute all the :connect commands in...

  • RE: Casting

    rmechaber (10/26/2015)


    The SELECT INTO method to determine the implicit types created by SQL Server is very useful! Two minor notes to anyone else running this: (1) the SELECT..INTO will...

  • RE: Casting

    matthew.flower (10/26/2015)


    I must be missing the explanation here?

    The explanation tells you where the problem is, but not what it is.

    [font="Courier New"]select '19.4615381' * -1.0;[/font] uses constant expressions, for which SQL...

  • RE: Cross Apply

    Mark Fitzgerald-331224 (10/20/2015)


    What am I missing here?

    The CustomerId in the subqueries Select list and Order By has not been qualified with the table alias, so would give an...

  • RE: Finding Azure SQL Database

    TomThomson (10/16/2015)


    I was so hung up on the spaces before or after that I highlighted the text in my browser to check that there were no spaces on the ends...

  • RE: Finding Azure SQL Database

    SQL_kode_kracker (10/16/2015)


    I get 3 rows returned when recreate the table in sql and run the query...

    Can you script this and post the script here? Either (99% chance) you have a...

  • RE: Finding Azure SQL Database

    helenlu7 65408 (10/16/2015)


    According to the txt you posted, mytext with myid =3 meets the predicate of the WHERE clause.

    Yes. And the question reads how many rows are returned, not which...

Viewing 15 posts - 1,261 through 1,275 (of 3,348 total)