Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 30 Dec 2014 @ 21:02:44 GMT


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


Subj:   Re: Query to find Backup tables
 
From:   Robert Mierzwinski

If tablename and backup tablename prior to suffix are the same try self join of dbc.tables where substring(tablename,1,length(tablename (of non backup)) = tablename of non backup.... of course make sure you are processing only tablekind of 'table' ('t', 'o'), avoid views ... That should be kind of straight forward



     
  <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