Forum Replies Created

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

  • 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.

  • RE: Hidden RBAR: Triangular Joins

    Charles Kincaid (12/6/2007)


    The row number thing is interesting, butt ...

    As a developer I'm not limited to doing EVEYTHING in SQL. For SQL2K I just count the rows coming into...

  • RE: Hidden RBAR: Triangular Joins

    "Set-based" refers to a logical construct--the programming model. "RBAR" refers to a physical implementation of the solution (at least as you use it in the article). I assert that the...

  • RE: Hidden RBAR: Triangular Joins

    sing4you (12/6/2007)


    That was an excellent article. I look forward to seeing the workaround!

    Thanks.

    Thank you for the both the feedback, and the encouragement!

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