Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 08 Nov 2012 @ 19:36:11 GMT


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


Subj:   Re: How to generate Surrogate Key using CSUM?
 
From:   Diehl, Robert

RANK can have ties, so is not good. Use ROW_NUMBER() which is ANSI standard instead of RANK() or CSUM()


Thanks,

Robert Diehl
Travelocity Data Warehouse DBA



     
  <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