• subhajeetsur (5/16/2013)


    SQL: a language for talking to the database. It lets you select data, mutable and create database objects (like tables, views, etc.), change database settings.

    T-SQL: (procedural) extensions for SQL used by SQL Server

    The extensions to TSQL are not necessarily procedural. For example, the CONVERT function isn't procedural. And, for sure, TSQL isn't procedural by nature. Yes, things like While loops are procedural but just because you're using TSQL doesn't mean that you're writing procedural code.

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