September 5, 2011 at 8:31 am
I have two tables A and B
Table A contains few tables with there columns, datatypes & datatype length
Table B contains same few tables with there columns, datatypes & datatype length but in different database [and there might be few differences in the table structure]
The column names in both tables is Table name, column name, data type and length.
How can i show any difference in datatype for any column across the tables ? There might be more columns for a table in table A as compared to table B or vice versa.
September 5, 2011 at 11:08 am
You could get the relevant rows from sys.columns of db_B and db_A and compare those (e.g. using a full outer join on sys.columns.name).
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply