|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Sunday, November 22, 2009 10:47 PM
Points: 5,
Visits: 49
|
|
Hi friends,
Presently in order to synchronize two databases w.r.t tables, columns and constraints we use a tool. I was wondering is it possible to have a query to compare the schema of two different dbs keeping one as master and the other as slave and all those master tables that are not in slave should be pointed out and if possible the query should make a DDL for such a table with Create or Alter depending upon their existence and differences.
Thanks. Regards, Waqas.
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Tuesday, February 05, 2013 4:24 AM
Points: 685,
Visits: 104
|
|
Probably not answer you are expecting but you can try red gate sql data compare, http://www.red-gate.com/products/SQL_Data_Compare/index.htm
It should be able to generate the scripts for you.
Everything you can imagine is real.
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Monday, October 31, 2011 1:10 PM
Points: 480,
Visits: 1,163
|
|
What tool do you presently use for DB schema comparison?
--
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Sunday, November 22, 2009 10:47 PM
Points: 5,
Visits: 49
|
|
we use ' SQL execMS ' http://www.laplas-soft.com/
Regards, Waqas
|
|
|
|