You are here: Re: DROP Database sql server 2000 « MsSQL Server « IT news, forums, messages
Re: DROP Database sql server 2000

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация