Click here to Skip to main content
15,909,437 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Friends,

I have to make a Patch file for the SQL Server Database that i need to send it to client in order to update the Old dB. In the new database I have many changes in the database schema i.e., new tables, updated tables, stored procedures, views (new ones and old ones).

Now in order to make a patch for the same, I need to write the full code for the New stored procedures and updated stored procedures, and for new tables as well. This will make the patch code a bit complex. I was looking for some easy procedure to perform the same operation but ended in getting nothing from web. So at last I switched to http://www.codeproject.com for the answer.

If anyone out there is having any idea regarding this, Kindly advice.

Thanks,

Varun Sareen
Posted
Updated 4-Mar-12 23:01pm
v2

1 solution

I would use SQL Management Studio to generate a SQL script that creates table, views, stored procedures etc, that amend the SQL script accordingly, for example if you are adding a column to a table then you would modify the relivent section from CREATE TABLE to ALTER TABLE .
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900