how to compare table definations only?
light_wt
Posts: 4
Hi,
i am comparing two databases with tables that has different def, i.e. one column is a smallint and the other database has that column as an int.
can the tool show only the difference on columns in tables? :?: i.e., i am not concern about the ownership, or grant statement, and etc. i am focused on the difference of the columns of tables from the two different db.
thanks.
i am comparing two databases with tables that has different def, i.e. one column is a smallint and the other database has that column as an int.
can the tool show only the difference on columns in tables? :?: i.e., i am not concern about the ownership, or grant statement, and etc. i am focused on the difference of the columns of tables from the two different db.
thanks.
Comments
thanks.
There are various options that let you ignore parts of the table (eg ignore triggers, or ignore indexes), but it will always compare the core table definition - the columns and datatypes
i.e. i don't care about the trigger, owner, and etc.
Thanks!
indexes
permissions
dml triggers
full-text indexing
statistics
foreign keys
bindings
filegroups, partition schemes, partition functions
authorization on schema objects
You may want some of the others, as well (eg check constraints or constraint and index names) depending on your needs.