5 replies
by burlynerd
The easiest way to do it would be to perform a RESTORE from your database backups and transaction logs. If you can't do that, then the following can be done.
First, make sure you make a backup copy of the db.mdf and db.ldf files (db would be replaced by the name of your database file). Next, create a new, empty database with the correct name. Detach from the newly-created database files and attach to the old files.
I haven't done this, but it should work. Now that you have asked the question, I am going to test it on my home development machines this evening. This might come in handy some day.
BN
by volak_sao
by volak_sao
by volak_sao
This discussion is closed to new replies.
Trending Software posts
Sort by Trending