Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 17 Dec 2010 @ 17:05:46 GMT


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


Subj:   Re: How to query spl text
 
From:   Mittal, Rishikesh

Use the below:-

It will generate the statement, which you can copy and run in SQLA, and exports all procedure DDL to a single file.

     SELECT DISTINCT 'SHOW procedure '
     ||trim(databasename)||'.'||TRIM(TABLENAME)||' ; '
     FROM DBC.TABLES
     where databasename = 'dbname' and TABLEKIND ='p'
     ORDER BY 1;

HTH.

Rishi.



     
  <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