• cad.delworth (4/12/2016)


    Jeff: Thanks for the link(s). Still can't get my head around that "From TableA, TableB" syntax :sick:, so I'm afraid the other articles you linked to are near-impossible to follow (ditto for the string-splitting one, and for the same reason); though I do appreciate you pointing me to them.

    I guess my brain is just 100% allergic to putting a comma between two table names in a FROM clause. >sigh<

    BTW "surely" you can only refer to a cross join as a "square join" if the row count of both tables is the same? 😀

    I agree that two tables of difference sizes would result in a "rectangle" but I've never heard of anyone citing a "rectangular" join.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)