I was asked to look at a SQL server at a remote site that's been acting up and bogged down.
What I found was that they had built their main production database into the Master DB. So this thing is continuously logging production data into tables in Master. I about cried.
What I'm asking is, how safe does it sound if I were to:
script all the non-system tables and stored procedures in Master
recreate these in a new DB
use DTS to copy over the existing data
delete them from the Master
change all DSN's to point to new table.
I'll be doing it all over RDP.
Obviously, this is after backing it up and cutting off any clients or services that might be writing to it.
It seems pretty straightforward and simple, are there any caveats I'm missing?
What I found was that they had built their main production database into the Master DB. So this thing is continuously logging production data into tables in Master. I about cried.
What I'm asking is, how safe does it sound if I were to:
script all the non-system tables and stored procedures in Master
recreate these in a new DB
use DTS to copy over the existing data
delete them from the Master
change all DSN's to point to new table.
I'll be doing it all over RDP.
Obviously, this is after backing it up and cutting off any clients or services that might be writing to it.
It seems pretty straightforward and simple, are there any caveats I'm missing?