Forum Replies Created

Viewing 15 posts - 8,011 through 8,025 (of 8,416 total)

  • RE: Concurrency Question

    -- duplicate post: having problems submitting this end! --

  • RE: SET vs SELECT

    Jack Corbett (5/8/2009)


    Glad we are all agreeable despite Barry being the Darth Vader of SSC.:w00t:

    I take the view that it is safest, on balance, to agree with people who are...

  • RE: Are the posted questions getting worse?

    Hey Flo,

    I hope you know that I would have offered to read it too - but I have had very little time this week to check the threads here.

    I'm sure...

  • RE: SET vs SELECT

    Jack,

    The three of us are agreeing - though the casual observer might be hard pressed to spot it :laugh:

    Paul

  • RE: SET vs SELECT

    Darth,

    That was my attempt to highlight the difference between the posted examples, and the only actually 'dangerous' one I can think of (which I posted).

    As you say, it is just...

  • RE: Concurrency Question

    Jamie Julius (5/7/2009)


    It seems to me that the proposed SQL would be considered an implicit transaction. It would be run under the default isolation mode of "Read committed". I don't...

  • RE: SET vs SELECT

    RBarryYoung,

    How does that go with:

    Select @i = object_id from sys.objects

    ...?

    Paul

    (a confirmed SELECT-ite, mostly)

  • RE: SET vs SELECT

    Florian Reischl (5/8/2009)


    Paul, you're a very spooky man... :crazy:

    :laugh:!

    I am?

    I am!

    Were you about to post something similar? Because I claim prior art!

    See http://sqlblog.com/blogs/adam_machanic/archive/2006/07/12/t-sql-variables-multiple-value-assignment.aspx

    My comment is at the very bottom...

  • RE: SET vs SELECT

    John,

    When assigning multiple variables from constants, SELECT is significantly quicker than separate SET statements.

    Just adding that for completeness.

    Paul

  • RE: Concurrency Question

    Bob,

    It works fine now. The primary key is safe! 😀

    Paul

  • RE: Concurrency Question

    Bob,

    No worries at all - don't give it a second thought.

    [my pointless code deleted at this point, lol]

    @noeld: thanks! It amused me.

    Paul

  • RE: Concurrency Question

    Lynn Pettis (5/8/2009)


    Stepping back a moment, dealing with difficult users...

    I agree entirely with your comments there.

    Though it is said:

    "Let (s)he who is without pork chop, throw the first pork chop"

    ...or...

  • RE: Concurrency Question

    Lynn Pettis (5/8/2009)


    When I turned READ_COMMITTED_SNAPSHOT OFF and turned ALLOW_SNAPSHOT_ISOLATION ON, and ran the updates using READ_COMMITTED...

    You need to SET TRANSACTION ISOLATION LEVEL SNAPSHOT to use that level. READ...

  • RE: Concurrency Question

    Bob Hovious (5/8/2009)


    Are you real sure about that Paul?

    Did you try it?

    Would somebody else try it? Because I just created a new...

  • RE: Are the posted questions getting worse?

    I know the conversation has moved on a bit, but:

    I just want to say that while it may not seem like it sometimes, I do try hard to be tolerant...

Viewing 15 posts - 8,011 through 8,025 (of 8,416 total)