Forum Replies Created

Viewing 15 posts - 53,686 through 53,700 (of 59,068 total)

  • RE: Hidden RBAR: Triangular Joins

    Sergey Kazachenko (12/7/2007)


    Adam Machanic liked a cursor-based solution for running sums:

    http://sqlblog.com/blogs/adam_machanic/archive/2006/07/12/running-sums-redux.aspx

    I like Adam... so I won't hold that against him. 😉

  • RE: Hidden RBAR: Triangular Joins

    Charles Kincaid (12/7/2007)


    On another tack, pronouncing it ree-bar got a good laugh in the staff meeting the other day. I was asked if I'm researching data or putting in...

  • RE: Hidden RBAR: Triangular Joins

    It makes it difficult to have a conversation when people refuse to use well-established meanings for particular terms.

    Heh... But that's my whole point... I believe that what you and a...

  • RE: Hidden RBAR: Triangular Joins

    ...how certain types of UDFs can also lead to "RBAR" executions, e.g., when applying a UDF to a column to extend the results of your SELECT.

    That's a spot-on observation... and...

  • RE: Hidden RBAR: Triangular Joins

    Does a inner join (for that matter any join) with a inequality condition in the where clause make a triangular join.

    Yes, but in the presence of other criteria, it can...

  • RE: Hidden RBAR: Triangular Joins

    Christian Buettner (12/7/2007)


    Hi Jeff, Chirag,

    I am not sure if I misunderstood something, but the SQL Statement does NOT utilize a "triangular join":

    Select orderid,orderdate,productid

    from orders O INNER JOIN orderdetails OD

    On O.orderid...

  • RE: Hidden RBAR: Triangular Joins

    On the other hand, if your goal is for elegant well written code above all, especially in a more purely theoretical setting, then you can largely if not completely ignore...

  • RE: Hidden RBAR: Triangular Joins

    Does a inner join (for that matter any join) with a inequality condition in the where clause make a triangular join.

    Yes, but in the presence of other criteria, it can...

  • RE: Hidden RBAR: Triangular Joins

    ...yes, to Oracle 😛

    Heh... you're a sick man, Corey 🙂 ... I hate Oracle... 😉

  • RE: Hidden RBAR: Triangular Joins

    By the way - that's processing that grows a a slower rate than linearly proportional to the cardinalty of the universe you're operating in.

    Again, very well said... if the...

  • RE: Hidden RBAR: Triangular Joins

    But by not considering the physical aspect, or how the logical applies to it, you will eventually build something that left to its own devices will do just that (saturate...

  • RE: Hidden RBAR: Triangular Joins

    This was an awesome articles and it spawned a great discussion.

    But the question of whether or not you can disregard the physical layer depends on your goal. In most cases...

  • RE: Hidden RBAR: Triangular Joins

    I would disagree with your assertion that set based programming is code that touches rows once or very few times and that the query you specified is not set based....

  • RE: Hidden RBAR: Triangular Joins

    TheSQLGuru (12/6/2007)


    I must say that I am very happy that people can do things like the triangular join - and sad that Jeff may make less people do it. ...

  • RE: Hidden RBAR: Triangular Joins

    Thanks for the feedback, Matt... and thanks for the "missing link" info... I just fixed it.

Viewing 15 posts - 53,686 through 53,700 (of 59,068 total)