Comparing Two Environment

Database

Comparing Two Environment

Hi,

I need to write a Stored Procedure to compare two Environment's(eg. Dev1_stg with Dev12_stg) Tables, Stored Procedure, UDF, Especially Views. Can any one suggest how can i approach this concept in Stored Procedure? 

I am able to do this comparison for Tables, using Dbc.ColumnsV. but for Stored Procedures, Views?

Thanks!

1 REPLY

Re: Comparing Two Environment

Hi,

There is a column named TableKind in dbc.tables which tells you what kind of object(eg: Table, View, Procedure, Macro, etc). You can use this column to compare the all kind of objects in the database. Below link for your reference.

http://www.info.teradata.com/HTMLPubs/DB_TTU_14_00/index.html#page/Database_Management/B035_1092_111...

Thanks,

Dinesh