Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sat, 04 Jan 2003 @ 19:14:57 GMT


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


Subj:   Recursive SQL processing
 
From:   Dwight Etheridge

Hello,

Is this type of recursive SQL processing on the roadmap?

WITH PARENT (PKEY, CKEY)  as
(SELECT PKEY, CKEY
 FROM HIERARCHY
  WHERE PKEY = 'AAA'
 UNION ALL
 SELECT C.PKEY, C.CKEY
  FROM HIERARCHY C
 ,PARENT P
WHERE P.CKEY = C.PKEY
)

SELECT PKEY, CKEY
FROM PARENT;

--
Dwight Etheridge
Teradata Certified Master



     
  <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: 27 Dec 2016