Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 16 Aug 2007 @ 14:40:41 GMT


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


Subj:   Working with duplicate rows
 
From:   Anomy Anom

<-- Anonymously Posted: Thursday, August 16, 2007 07:11 -->

Hi,

I have a multiset table with duplicate rows. Rows with same values across all the columns.

Is it possible to find out, which record was inserted the last.

eg,

     table A
     col1 col2
     abc ghj
     abc ghj

Among the above two, I have to find out, which is the last inserted row.

Is there a way to find that out ?

note: in oracle, there is something as rowid, which is used for this.

Please help, if you have a solution.


Thanks a lot



     
  <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