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

ROW number based on order of Insertion - forum topic by bala2121

$
0
0

Hi All,
 
Normally, we can find row_number based on the order of columns using ROW_NUMBER() function.
select row_number() over(order by col1) from tablename ;
Is there any way in Teradata to get the Row number based on the order/time of insertion rather than the order of columns contained.
Thanks in advance.

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>