Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 17 Jan 2003 @ 17:25:15 GMT


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


Subj:   Re: Daily updates to a history table
 
From:   Koduri, Harish

Just create a intermediate temporary table which contains only accounts which have accnt_class changed from account table. Define accnt_nbr as primary index for this table (i assume you have accnt_nbr as primary index on the account_class table). Then you can update the account_class table from the temp table based on the accnt_nbr which is primary index on both tables which should perform better than other options.

Harish



     
  <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