Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Help required on the query using analytic function - response (2) by BalaAG

$
0
0
Hi Dieter, Thanks for your response.I usually follow up your posts.Also will check out your SQL. Please clarify my queries regading the OLAP functions: 1. As per my knowledge,the reset command within the OLAP function should create the sub partition when evalutes to true.so in my case statement the below reset will take the second min (ie., (+23:59) 3/1/2010 17:59) when it evalutes to true?   RESET WHEN START_TIME >= min(START TIME + interval '23:59:59' HOUR TO SECOND) OVER(PARTITION BY A,B ORDER BY START_TIME ROWS ROWS BETWEEN 1 FOLLOWING   AND 1 FOLLOWING   2. how does the rows ,rows between (preceding,following,unbounded preceding / following) works?   Thanks, Bala    

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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