Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 24 Aug 2004 @ 15:07:34 GMT


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


Subj:   Re: Table loading issue
 
From:   Arnaud_Balat

Hi Karthik,

A solution would be to build dynamically your SQL everyday by using a shell script and the tables: dbc.tables & dbc.columns.

An example to get the tablename: select MAX(tableName) from dbc.tables where tableName LIKE 'myTableName%'

You could also base the query on the createTimeStamp.

The down side is that if you are using a macro (as I think to understand), your user will have to have create & drop macro privs.


Arnaud



     
  <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