Click here to Skip to main content
15,885,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have face one problem with SQL Server Data Tools (SSDT) and database project which is manage by TFS.

If some one forgot to check-in db script after ALTER the script [ like alter of store procedure ] then it leads to inconsistent script on DB server and DB project which is under source control (TFS).

Above scenario creating major problem in patch creation.

Can any one suggest me the solution.

What I have tried:

I used schema comparer option of SSDT before patch creation which help me to sync DB server script with DB project which directly alter without check in.
But not solve the purpose of version control
Posted
Updated 4-Apr-18 20:26pm
v2
Comments
Herman<T>.Instance 9-Apr-18 3:32am    
In stead of ALTER check if the object exists in the DB. IF not, then CREATE!

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