database options not being copied from model db

  • I have made some db level changes on model db and the intent was to have those settings copied over on every db created on that instance. Now i am restored empty db's from the backup taken on another server and i dont see the settings copied from the model db to the newly restored db. Does restore inherit settings from the source server where backup was taken or from the model db where it is being restored.?

  • curious_sqldba (11/10/2013)


    I have made some db level changes on model db and the intent was to have those settings copied over on every db created on that instance. Now i am restored empty db's from the backup taken on another server and i dont see the settings copied from the model db to the newly restored db. Does restore inherit settings from the source server where backup was taken or from the model db where it is being restored.?

    The settings in tghe Model database only affect new databases... not restored databases. The settings of a restored database will be preserved as they were saved.

    --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 - 1 through 1 (of 1 total)

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