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

Difference between the partition by syntax - forum topic by nileshbhaw

$
0
0

Hi,
Please help me to understand what is the Difference between below query performance wise and which one will work faster
 

 PARTITION BY RANGE_N(YYMM_NUM  BETWEEN 201301  AND 201312  EACH 1,
        201401 AND 201412 EACH 1,
        201501 AND 201512 EACH 1,
        201601 AND 201612 EACH 1,
        201701 AND 201712 EACH 1,
        201801 AND 201812 EACH 1,
        201901 AND 201912 EACH 1,
        202001 AND 202012 EACH 1

 

OR

 

 

PARTITION BY RANGE_N(SNAP_YYMM_NUM  BETWEEN 201205  AND 202012  EACH 1 );

 

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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