on 07-26-2013 12:55 AM
Hello all, I have a requirement with one customer to do a schema comparison on DEV and TEST environments and get differential script for the tables modified in dev. I have used tools in that past like RedGate to acheive the same from SQL server. Any idea how we can do this schema comparison between two different schemas sitting in two different instances. Any inputs will be highly appreciated.
-Thanks,
Vinod Nair
Hi Vinod,
If you don't find any more automatic tool for that, I suggest to compare system views:
"SYS"."TABLES"
"SYS"."TABLE_COLUMNS"
Both views contain column SCHEMA_NAME, on which you can do filtering.
You will have to write an SQL to find differences (maybe operations on sets of data could be used).
Do let us know how you get to the results, you are expecting.
Hope that helps,
Leszek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.