![]() |
|
![]() |
![]() |
Archives of the TeradataForumMessage Posted: Tue, 23 Feb 2010 @ 15:19:29 GMT
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
| ||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||