Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

why row_number() is not generating continuous numbers

$
0
0

Hello Experts,

I have :

selectrow_number()over(partitionbycityorderbydate)rno,

but I get the following:

rno
1
4
7
10
14
18
20
25
28
31
33
36
39
42

Please advise me.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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