• Ideally, you should run these type of jobs when database is in maintenance window - if possible, try to schedule it when the application is not using the DB. If that is not possible, try running it with Online option = 0 - that should only look for existing tables. If that does not work, I may have to review code in detail to help you.

    Farhan F. Sabzaali
    PMP, MCP, MCDBA, MCSA, MCSE