- Populate your schema with data at a database at SQL Server Management Studio.
- Detach the database from Microsoft SQL Server Management Studio. It will end up some place like this:
C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Data - Make a copy of the .mdf and .ldf file.
- Reattach the old database and rename it something else.
- Attach the new database and get rid of its contents.
- Download a trial of Redgate SQL Data Compare 9.0
- Install it!
- Spin up the app. Compare two databases as shown here and then finally click "Compare Now"
- Enter the "Synchronization Wizard" and then with the option for "Create a synchronization script" checked click "Next"
- There will be a tab called "Synchronization Script" that holds the SQL you want.
Thursday, August 18, 2011
RedGate SQL Data Compare
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment