How to change owner of db when it's the secondary db in log shipping?

  • Is it possible to change the owner of a database when that database is the secondary database in a log-shipping setup? The db is currently in standby/read-only mode. From what I've been able to gather from Google and BOL, once I put the db into a state where I can write to it, then log shipping will be broken and will need to be set up again.

    Thanks,

    Wayne
    Microsoft Certified Master: SQL Server 2008
    Author - SQL Server T-SQL Recipes


    If you can't explain to another person how the code that you're copying from the internet works, then DON'T USE IT on a production system! After all, you will be the one supporting it!
    Links:
    For better assistance in answering your questions
    Performance Problems
    Common date/time routines
    Understanding and Using APPLY Part 1 & Part 2

  • From what I recall, the secondary db is a read only copy and it cannot be altered whilst in log shipping, you will have to stop log shipping and reconfigure it.

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

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