Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 25 Aug 2005 @ 17:10:24 GMT


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


Subj:   Re: Time Stamp for Last Update
 
From:   ghanshyam.varindani

Hi Manoj,

  Is there any way by which we can know the last updation time of a row in a table, like we gave timestamp column in SQL Server.  


You can specify one attribute to contain the value of the updation timestamp.

Whenever you are trying to add a row you can enter the value of the systime in that column

At time of updation you can create one table which keep track of the last update for tables values.

Using that date you can update the rows in the existing table.

For eg;

     select  a.first name
     from student a,
     last_updated_table b
     where a.change date >b.last_updated_date

Regards,

Ghanshyam Das Varindani



     
  <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