Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Are scripts available that do this?

Status
Not open for further replies.

tvoss

Programmer
Apr 25, 2002
2
0
0
US
Compare 2 databases A and B and then modify B to match A while leaving Bs data as intact as possible:

for 4 areas:

1)Check a source table to see if a table exists in target database, if it isn't add it.
2)In each table check to see if the column/field exists, and if not add it.
3)Compare the column properties of the source against the installed version, and if there were changes, alter the destination.
4)Clear and refresh all the stored procedures

Or do most developers/dba's just write a new program to add new version features to B directly each time?

Thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top