Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 10 Nov 2010 @ 07:48:04 GMT


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


Subj:   Re: Need Same Order as in input table
 
From:   Wadhwa, Vivek

Lakhwant,

I do agree with YASh and below is differ way to get the same result.

     Select
     rank(field1 asc,field2 asc,field3 asc,field4 desc)
             ,Field1
             ,Field2
             ,Field3
             ,Field4
     from tablea

Regards,

Vivek Wadhwa / Capgemini
Financial Services Strategic Business Unit



     
  <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