Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 21 Nov 2014 @ 09:05:48 GMT


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


Subj:   Macro/Formulae to get DDL's and counts of all
 
From:   Sravan.Bodla

Hi Forum,

Does anyone has a macro which can give the Definitions of all the tables involved in the query(Explain plan), Table counts and Stats definitions of all those tables involved.

Everytime, I get this info from Explain plan manually by adjusting in notepad ++.? Instead, looking for some automated macro/script/excel formulae which can simplify this manual work.

As these are the first steps while working on any query tuning and which will be helpful to understand better about the tables involved in the query.

I am not referring to Show sel * from dbname.viewname; As it only gives the underlying object definitions of only those objects which are involved in that particular view.


Thanks in advance!

Sravan.



     
  <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