• iqbalbutt (3/2/2015)


    Is this the correct process to do partitioning?

    Rename constraints, indexes, and table

    Create table

    Create clustered index using Partition Scheme

    Create constraints

    Back fill data from renamed table

    Create non clustered indexes

    Verify row counts

    Drop old table

    Yes and No. It depends. Please answer my previous questions so that we can advise you properly.

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