Results 1 to 4 of 4

Thread: Transferring Database

  1. #1
    Kwan Guest

    Transferring Database

    Hi !

    Currently I need to transfer existing database to another server. Unfortunately, after restoring all database file, user information is not available. It is stored in Master database.

    I would like to know how can I transfer user login, database access, store procedures to another server ?

    Please advise. Thanks !

  2. #2
    JC Guest

    Transferring Database (reply)


    create a script of all that stuff on the original database and run it on your new server.

    Hope this helps
    JC


    ------------
    Kwan at 3/23/01 3:49:49 AM

    Hi !

    Currently I need to transfer existing database to another server. Unfortunately, after restoring all database file, user information is not available. It is stored in Master database.

    I would like to know how can I transfer user login, database access, store procedures to another server ?

    Please advise. Thanks !

  3. #3
    Chakri Guest

    Transferring Database (reply)

    The sysusers table in the database holds the DB user information. But, when you restore the database to a different server, the corresponding SQL login does not exists in this server. sp_change_users_login with 'auto_fix' option, can create the SQL login automatically.




    ------------
    JC at 3/23/01 5:59:57 AM


    create a script of all that stuff on the original database and run it on your new server.

    Hope this helps
    JC


    ------------
    Kwan at 3/23/01 3:49:49 AM

    Hi !

    Currently I need to transfer existing database to another server. Unfortunately, after restoring all database file, user information is not available. It is stored in Master database.

    I would like to know how can I transfer user login, database access, store procedures to another server ?

    Please advise. Thanks !

  4. #4
    Jeff Putnam Guest

    Transferring Database (reply)

    Alternatively, useing a DTS Transfer SQL objects task will do the job.


    ------------
    Chakri at 3/23/01 9:13:00 AM

    The sysusers table in the database holds the DB user information. But, when you restore the database to a different server, the corresponding SQL login does not exists in this server. sp_change_users_login with 'auto_fix' option, can create the SQL login automatically.




    ------------
    JC at 3/23/01 5:59:57 AM


    create a script of all that stuff on the original database and run it on your new server.

    Hope this helps
    JC


    ------------
    Kwan at 3/23/01 3:49:49 AM

    Hi !

    Currently I need to transfer existing database to another server. Unfortunately, after restoring all database file, user information is not available. It is stored in Master database.

    I would like to know how can I transfer user login, database access, store procedures to another server ?

    Please advise. Thanks !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •