Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 04 Apr 2006 @ 10:16:55 GMT


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


Subj:   Re: Is Table being used by Stored Procedure or Macro
 
From:   Cappelli, Andrea

Well, I think that all you need is, if you have the possibility to use Teradata Administrator , right click on the table and then left click on References.

The query on the data dictionary will be something like:

     SELECT DatabaseName,TVMName,TableKind AS "Type"
     FROM dbc.TVM T
     ,dbc.dbase D
     WHERE D.DatabaseId=T.DatabaseId
     AND CreateText LIKE '%"Database_Name"."Table_Name"%' (NOT CS) ORDER BY 1,2;

Hope this helps...

Andrea Cappelli
NCR Italia
Teradata Professional Services
Teradata Certified Implementation Specialist V2R5



     
  <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: 15 Jun 2023