Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 11 Mar 2003 @ 11:43:33 GMT


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


Subj:   Re: Sequence #
 
From:   Jim Downey

I read ahead to a couple of responses.

I have a table that has a trigger that does a before update write to a history table. The history table has the current timestamp as the default value. When a row is updated in table 1, the old version is written to table 2. although the sequence number is not 1,2,3, you could certainly derive a sequence by ordering on the current time stamp.

I can post that trigger if it would help.

Jim



     
  <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