• Lynn Pettis - Thursday, December 21, 2017 9:41 AM

    Jeff Moden - Thursday, December 21, 2017 9:24 AM

    I'll admit that it's a totally different take on the answer to this but, like many things, I find that the built in functionality is just totally bloated and would probably never use it.  I'll write my own, instead.

    If I am reading this right, it makes sense considering what I use from the system tables on a regular basis it would be reasonable to create views or functions to eliminate the redundant code I seem to write.

    My bad, Lynn.... I was talking about graph tables and not things like sys.columns, etc.

    --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)