Reputation: 1443
I have two database schema. I need to generate the script consisting of the difference. How do I do this?
Basically, I had original schema that I modified. So I need the script for what changed. Which tables got dropped and relationships are broken etc...
P.S. I do not have red gate.
Upvotes: 0
Views: 106
Reputation: 63956
Use the Schema Compare feature in Visual Studio:
Main Menu --> SQL --> Schema Compare --> New Schema Comparison
And go from there...
It may prompt you to download the SQL Server Data Tools from here if you don't already have it.
Note: I am no sure if this works in the Professional Version. It's certainly available in the Ultimate edition.
Upvotes: 1