Currently reviewing the reports generated from three separate sql server databases that interface each other and do not have a data dictionary.
Therefore, I will have to create a data dictionary on my own.
Objective is to use the sql script below to extract 10 records from each table in each of the sql server
databases and then store the results in a MS Access database to allow me to compare the different fields
across the three databases.
For example, the account number and sub account number is stored in two separate fields in a table for one database but stored
in one field in the other sql server database. So, if I extract 10 records from each table, I will be able to readily determine situations such as this.
Will this accomplish the objective?
If not, what modifications are needed for the sql script?
Any additional insight and assistance is greatly appreciated.
Therefore, I will have to create a data dictionary on my own.
Objective is to use the sql script below to extract 10 records from each table in each of the sql server
databases and then store the results in a MS Access database to allow me to compare the different fields
across the three databases.
For example, the account number and sub account number is stored in two separate fields in a table for one database but stored
in one field in the other sql server database. So, if I extract 10 records from each table, I will be able to readily determine situations such as this.
Code:
select top 10 * from information_schema.columns order by table_name , column_name
Will this accomplish the objective?
If not, what modifications are needed for the sql script?
Any additional insight and assistance is greatly appreciated.