我們有一款產品利用多個帶有觸發器的SQL Server 2005數據庫。我們正在尋找可持續的解決方案來部署和升級客戶服務器上的數據庫模式。SQL Server 2005多個數據庫部署/升級軟件建議
目前,我們正在使用Red Gate的SQL Packager,它似乎是這個特定工作的錯誤工具。 SQL Packager似乎不僅適用於單個數據庫,而且我們擁有的特定(舊)版本在SQL Server 2005中存在一些問題。(我們的SQL Packager版本在SQL Server 2000中運行良好,即使我們必須做很多解決方法使它能夠處理帶觸發器的多個數據庫。)
有人可以建議一個產品可以創建一個EXE或.NET項目來執行以下操作嗎?
* Create a main database with some default data.
* Create an audit trail database.
* Put triggers on the main database so audit data will automatically be inserted into the audit trail database.
* Create a secondary database that has nothing to do with the main database and audit trail database.
然後,當客戶需要更新他們的數據庫架構,該產品可以看看原來設置的數據庫和更新的一組我們的服務器上的數據庫之間的變化。然後,該產品可以創建一個EXE或.NET項目,該項目就可以了,客戶的服務器上...
* Temporarily drop triggers on the main database so alterations can be made.
* Alter database schemas, triggers, stored procedures, etc. on any of the original databases, while leaving the customer's data alone.
* Put the triggers back on the main database.
基本上,我們正在尋找類似SQL打包一個產品,而是一個將輕鬆處理多個數據庫。如果沒有這樣的產品存在,我們將不得不自己做。
在此先感謝您的建議!