Reputation: 563
I have used visual studio(vs2010) installer to restore a database backup file to the target server.
Now my requirement is to create a patch that will update the database if required.These updates may be in form of addition of scripts etc.
If i will again take the updated .bak file and restore it on target server through installer,the existing data will be lost that client is using.
So i just want to create a patch which will install the newer changes only, say addition of new table in the database.
Please suggest way to do it.
Regards,
Shipra
Upvotes: 0
Views: 540
Reputation: 172270
CREATE TABLE
, ALTER TABLE
, ...)That way, all you need to do is update your program. Yes, this means that you have to keep track of changes to your database schema. (Note that this solution requires that the user running the program has schema modification rights to the database.)
Upvotes: 1