Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 10 Apr 2007 @ 21:51:51 GMT


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


Subj:   Discovering View Dependencies - Show Select * From
 
From:   Mark Jahnke

Tech Tip:

If asked to drill down and find out all the objects a particular view is accessing (including nested views), use...

     SHOW Select * From view_name;

This will give the definition/create statement of tables and views, whereas,

     EXPLAIN Select * From view_name;

only gives underlying tables - not views.


Mark Jahnke
Guardian New York



     
  <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