on 2014 Jun 14 6:19 AM
Hi there,
Is there anyway to remove a device without removing database as the database still in use. thanks in advance.
1> sp_dropdevice QA1_data05
2> go
Msg 17482, Level 16, State 1:
Server 'QA1, Procedure 'sp_dropdevice', Line 110:
Device is being used by a database. You can't drop it.
database_name device size
----------------------- --------------------- ----------------------------
QA1 QA1_data05 10240 MB
Regards,
AM
Prior to ASE 16.0, the only safe method is to dump the database, drop the database, recreate the database as the same original size (while not using the device that you want to drop), then reloading the database.
If you have ASE 16, you can shrink the database to not use that device expecting that other devices can hold the data that was on the device that you want to shrink.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.