|
Posted by Erland Sommarskog on 01/24/07 22:05
shark (xavier.sharon@gmail.com) writes:
> i have two servers. database A on server A . database A on server B
> (both sql server 2000 - both same d/b - server B being the standy
> by).if i delete databse A on server Ai have to deleted the standyby
> copy on server B.
>
> can anybody please guide me as to how to do this.
On SQL 2000 the only way is to explicitly drop both databases.
On SQL 2005, you could set up a DDL trigger, although I'm not sure
that it would be worth the effort.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|