Create another database (Copy from exisiting 1)

  • Hi there,

    I have a database called A which is a master copy (readonly)

    I need another DB called B which users will access it

    how to do it?

    i need all objects(tables, triggers, SPs, views, indexex etc) to also be copied along with permission

    so bacially B should be exactly as A

    Cheers

    GB

  • Two ways.

    1. script out everything in db A, including permissions and run it in B.

    2. Restore B from a backup of A, whack the data you need removed.

  • Dear

    Backup the database A as normal.

    Restore the database and change the name to B.

    Thanx

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)

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