Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 22 Aug 2013 @ 19:03:25 GMT


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


Subj:   Global temporary space usage
 
From:   David Clough

Does anyone know how to derive a list of Nested Procedures for a given Stored Procedure, by any chance ?

Why I'm asking is because our dba's are asking for the order in which Stored Procedures should be compiled, particularly when they are part of a nested set.

Example

     PROCEDURE A_PROC (IN A)
             lots of logic.
                 SET B = A * 2;
             CALL B_PROC (B)
     END A;

So here, I'd need to know that I've got to compile B_PROC before I compile A_PROC.

I know, I know, I could just search for the keyword 'CALL' and that would tell me pretty much what I need to know, but I'm really looking for some sort of Sql that would tell me.


Thanks.

Dave Clough
Database Designer - TNT ICS



     
  <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: 27 Dec 2016