Question

  Asked: Jun 5 2008   9:12 AM GMT
  Asked by: JARON


sql scripts


Scripts, SQL, SQL scripts

Hi all,
i'm updating a new 'commun management' software n i wanna update the database bcoz i added many extra tables.
i did write scripts for all the tables this way:

Create...........
Drop...........
Alter........

so our clients would be able to have access to it.
but i have been asked to write other ways script than using 'alter', becoz its like im having the database for the first time and our clients have the older version...
Any Ideas??

10x in advance

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



When writing change scripts you'll need to know what version of the schema the customer has. Once you do you can write the scripts to add in the new database objects. You'll need to use CREATE and ALTER commands to create the new objects and update the existing objects.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Development and SQL Server.

Looking for relevant Development Whitepapers? Visit the SearchWinDevelopment.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register