rownumber() function is used to return the rownumber with select query
The Follwoing query will return the result set row number
Sintaxă
ROW_NUMBER ( ) OVER ( [
Exemplu
Select row_number() over(order by productid) as SlNo,productname,unitprice from products
Plecare un Reply