Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Wed, 14 Apr 1999 @ 14:57:02 GMT





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




Subj:   Re: Numeric functions in Teradata
 
From:   Eric J. Kohut



Not that I know of.

The current best way to do this, assuming only inserts, is to assign a unique number to each row for a batch Of inserts. Load this data with it's batch unique id into a table. Then place the max of the previously loaded data into a 1 row (or 1 row / table), 1 column table with a Column named max. Then execute a product join of the newly loaded data with the appropriate max column from the table of max columns. This will run quickly and efficiently.


Thanks,

Eric





     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008