Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Order of RANK(yy) - response (1) by dnoeth

$
0
0

Hi Peter,
don't use it, this is deprecated syntax.
Teradata implemented some OLAP functions like RANK, MAVG, CSUM in V2R3 before they existed in Standard SQL, but added the ANSI versions in V2R4.
 
 
And for ranking you usually want the highest value to be #1, so they decided to use DESC as default :-)
 
Dieter 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>