Forum Replies Created

Viewing 15 posts - 1,171 through 1,185 (of 8,416 total)

  • RE: Query Plan Execution Order

    Sergiy (1/13/2012)


    You say - pouring is coming 1st, because before counter can start counting you must open the cap and put the nozzle into the hole. All right, but...

  • RE: Query Plan Execution Order

    Sergiy (1/13/2012)


    SQL Kiwi (1/13/2012)


    You claim that opening handlers IS execution. OK, let's pretend for a minute we've agreed on that.

    Yes, code execution (as shown in the stack trace from...

  • RE: Query Plan Execution Order

    You claim that opening handlers IS execution. OK, let's pretend for a minute we've agreed on that.

    Yes, code execution (as shown in the stack trace from the debugger) is...

  • RE: Query Plan Execution Order

    Sergiy (1/12/2012)


    Here is the full execution tree for my batch: [...snip...]

    According to the plan, the 1st operation would be index seek on table @b-2.

    Then comes table scan on table @A.

    Are...

  • RE: Slow Query

    chandan_jha18 (1/13/2012)


    Thanks Paul for taking time out of your schedule and giving such a detailed explanation. Unfortunately, when a lot of DBAs like me enter the world of already established...

  • RE: Slow Query

    chandan_jha18 (1/13/2012)


    Thanks for replies. Well, I agree that we are comparing different columns here i.e smalldate time to datetime but should not it be easy for SQL Server. I can...

  • RE: Returning a column per date in a range

    Evil Kraig F (1/12/2012)


    nick-1043370 (1/12/2012)


    Speaking for myself I'd rather get something, work out whether it works in the context of the problem, and then re-pose the question if necessary. If...

  • RE: Query Plan Execution Order

    Sergiy (1/12/2012)


    After reading articles from MVP and in BoL about "in-memory tables variables" I din't trust anyone's statements without verification.

    So attach a debugger and verify it, like I did.

  • RE: Query Plan Execution Order

    Sergiy (1/12/2012)


    There are so many holes and false assumptions in those articles...

    No, they're just telling you things you don't want to listen to. If you don't believe the people...

  • RE: Query Plan Execution Order

    Sergiy (1/12/2012)


    It's obvious that the 1st statement (Node 0) in the execution plan calculates the division of 2 expressions calculated by Stream Aggregate in Node 1. All those talks...

  • RE: Query Plan Execution Order

    Sergiy (1/12/2012)


    That's exactly what I'm trying to prove:

    JOIN is executed (eliminating the extra row) BEFORE aggregation even starts to evaluate any upcoming values.

    You are confusing the point in time at...

  • RE: Query Tuning

    Sergiy (1/12/2012)


    Explanation:

    Nothing is stopping an INDEX SEEK from being used and answer "A" is the correct answer.

    Actually something does.

    It's named "bookmark lookup".

    There is no 'bookmark lookup' in this...

  • RE: Question for the "experts"

    L' Eomot Inversé (1/12/2012)


    Jack Corbett (1/12/2012)


    I don't see the only person who replied doing anything to get upset about or reply rudely or unprofessionally to.

    I disagree with you on...

  • RE: Query Plan Execution Order

    Sergiy (1/12/2012)


    Let's modify the query from the QoD a litle bit...

    If you run it like this you get an error:

    Syntax error converting the varchar value 'a' to a column of...

  • RE: Query Plan Execution Order

    Sergiy,

    I can assure you it works very much like Hugo has described; I'm afraid most of what you have asserted is incorrect. The explanation I gave for the answer...

Viewing 15 posts - 1,171 through 1,185 (of 8,416 total)