What is faster? Creating calculated field within table or creating calculated fields within query?

  • Thank you Guys,
    you are amazing!

    A lot of things to think. 
    Thank you!

    Best,
    Jacek

  • jaryszek - Tuesday, March 13, 2018 11:14 PM

    Thank you Guys,
    you are amazing!

    A lot of things to think. 
    Thank you!

    Best,
    Jacek

    Thanks for the feedback but, as with all else in SQL Server, "It Depends" and you really need to setup a comparative test for your particular requirements.

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

Viewing 2 posts - 16 through 16 (of 16 total)

You must be logged in to reply to this topic. Login to reply