>>>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.
>>
>>There is always ALTER TABLE. (In a script, as Bruce says).
>
>As Sergey said that not all changes can be done with the ALTER TABLE. And I am sure sooner or later I will run into such a situation. Then I will have to find another way of synchronizing mine and the customer's databases.
Creating indexes is not part of ALTER TABLE command (It's CREATE INDEX command).
If it's not broken, fix it until it is.
My Blog