Information générale
Forum:
Microsoft SQL Server
Versions des environnements
SQL Server:
SQL Server 2005
J'aime (1)
Naomi Nosonovsky
>Hi,
>
>How do you update a database structure (default keys, constraint, etc) installed on the customer site with the changes you have made to your copy of SQL Server database? That is, I understand that I have to create some script and send it to the customer and instruct them to run this script, correct? How do you create such a script? TIA.
Hi Dmitry,
In addition to the other suggestions I'll explain our process.
All DB changes are scripted during development, we never make changes using the SSMS interface. Using scripts during dev allows us to track what was changed, who made the change, and why it was changed. Our scripts are stored in source control. They typically check for existance of the added/modified object so they can be executed more than once.
For migration, all scripts are concatenated into a single file for ease of use.
I know these suggestions are of no use for your current scenario, but might help moving forward. I can post examples if that would help.
Bruce
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement