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,
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,