• If you have database servers in each country, I believe that you're missing a prime opportunity for disaster recovery. All customers should be in the same database and the database should, obviously, be able to discriminate by the customer as to which country's information they should have access to. For Canada especially, there should also be a language preference.

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