My query:
select
row_number() over(partition by line_no order by line_NO) as orce
from tx_hsa_summ
This is my query when ever I use the over function I keep getting this error
Msg 195, Level 15, State 10, Line 1
'row_number' is not a recognized function name.
and this is my db version
Microsoft SQL Server 2000 - 8.00.2305 (Intel X86) May 14 2012 16:24:50
Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition
on Windows NT 5.2 (Build 3790: Service Pack 2)
pls help me resolve this. Thanks in advance