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

Best way to generate the Sequential numbers : CSUM or IDENTITY columns? - response (1) by dnoeth

$
0
0

Hi Nishant,
you have to define "sequential" first, do those value have to be:
- really sequential (based on the position in the input file or some other order)
- without any gaps?
- or just unique?
IDENTITY will be be "just unique".
CSUM(1,1) should never be used, because it skewes to a single AMP (replace it with a ROW_NUMBER)
Dieter
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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