Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 05 Mar 2008 @ 21:18:50 GMT


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


Subj:   Re: Recursive Query
 
From:   Anomy Anom

<-- Anonymously Posted: Wed, 5 Mar 2008 12:20 -->

Think I got the join condition backward relative to your description. Corrected below. At least the important part was right the first time...

     WHERE PREV_LEVEL.ACCOUNT_NUMBER_NEW = THIS_LEVEL.ACCOUNT_NUMBER_OLD
     AND THIS_LEVEL.ACCOUNT_NUMBER_NEW <> THIS_LEVEL.ACCOUNT_NUMBER_OLD


     
  <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