Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 30 Mar 2001 @ 10:59:35 GMT


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


Subj:   Re: ClearPeakDisk and PeakSpoolSpace
 
From:   Ralf Brinkmann

Hi,

here's a macro generating the desired SQL to fullfil your task. You'll have to remove the blanks...


Hope this helps

Ralf Brinkmann


     replace macro fibd.ClearPeakPerson (username char(30)) as (
       select 'UPDATE DBC.DATABASESPACE SET PEAKSPOOLSPACE=0 WHERE DATABASEID='''
     (title''), databaseid, '''XB;'(title' ')
       from dbc.databases2 where databasename=:username;
       );


     
  <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