Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 23 Feb 2010 @ 15:19:29 GMT


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


Subj:   Re: Database Size of playpen
 
From:   paul.adderley

You can adapt the below:

     SELECT Databasename
            ,SUM(Maxperm)
            ,SUM(CurrentPerm)
            ,SUM(CurrentPerm) * 100 /
     NULLIFZERO(SUM(Maxperm))(FORMAT 'zz9.99')(CHAR(6))
     FROM DBC.DiskSpace
     GROUP BY 1
     ORDER BY 4 DESC;

Paul



     
  <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: 23 Jun 2019