Link to home
Start Free TrialLog in
Avatar of motioneye
motioneyeFlag for Singapore

asked on

delete db in suspect mode which has replication configured

HI,
My db is no in suspect mode due to one of the file missing, someone has deleted the file because this db has noit been in production for 3 mth ( services stop), and now I want to drop the database permanently but it wont allow me to  do so because it exist for replication. I had try also to drop the replication but due to db in suspect mode I can't do that.. what are the option available for me to delete the db?
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of motioneye

ASKER

But how do I access the db since it now in suspect mode?? without getting access to the publication db I dont think I can drop the replication
Hi I manage to bring the db online:

remove the missing files from sysaltfiles
run dbcc dbrecover
and run sp_replicationdboption to release the database from be a publisher,
I will still giving away ur point becaue the link showing me some hint how to work with remove the replication.