Hi Nolan,
you can try to resolve the view down to the base table, e.g.
http://developer.teradata.com/blog/ulrich/2011/11/extract-and-analyse-database-object-dependencies
but this is a huge overhead (product joins) and it might return false positives when an existing table name is used as an alias in another view. Additionally there's no way to include tables used in Stored Procedures.
Did you consider using the existing metadata repository, Teradata's Metadata Services (MDS), instead of developing your own solution?
Hi Nolan,
you can try to resolve the view down to the base table, e.g.
http://developer.teradata.com/blog/ulrich/2011/11/extract-and-analyse-database-object-dependencies
but this is a huge overhead (product joins) and it might return false positives when an existing table name is used as an alias in another view. Additionally there's no way to include tables used in Stored Procedures.
Did you consider using the existing metadata repository, Teradata's Metadata Services (MDS), instead of developing your own solution?
Dieter