Hi All,

we have 2 oracle 8i databases let us call them as
source database,target database.

Target database is kind of datawarehouse stuff.

we need to transfer some of the data from source
database to target database.

For that purpose we created views on source database
and new tables (corresponding to each

view) on target database to hold this data.

Now we find that there are some fields whose data type
and field lengths on target database

table are mismatching with source database views.

we have 50 views in source database .so obviously 50
tables on target database.

So my task is to findout those mismatches.

How can you find out those mismatches
programatically???


I am thinking as below.

1.Generate Create table script from source view (by
reading datatype,length from source

view tables)
Script should accept all view names as a string and it should generate create table statements corresponding to each view.





2.Generate create table script from target database
tables.

3.Compare the script using file compare utilities.

what do you guys think?

I need help for task 1 above.
It is kind of very urgent and needs to be finished
asap.

I know in sql server all views columns data types stored in table_schema table.
But in orace where it stores??

Any kind of help is greatly appreciated.


Thank you
--Anil