Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 18 Feb 2005 @ 13:24:30 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: Views referring tables
From:   Summers, Scott

this should give you all the views which contain the table_in_question in their ddl:

     Select      trim(databasename) || '.' || trim(tablename)
     From  dbc.tables
     Where requesttext like '%database.table_in_question%'
     and tabekind='v';

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020