PL/SQL program units are compiled by the Oracle Database server and stored. Column in Oracle Magazine and has created the Practically Perfect PL/SQL series. Working with Numbers in PL/SQL: Learn about and how to use the different.
I know we can generate row_number in select statement. But row_number starts from 1, I need to generate from 2 and onwards.
example
Current I am using below select statement for generate regular row number.
How can modify above select statement and start from 2?
2 Answers
to add: ROW_NUMBER()
has an unusual syntax, and can be confusing with the various OVER
and PARTITION BY
clauses, but when all is said and done it is still just a function with a numeric return value, and that return value can be manipulated in the same way as any other number.
Pl Sql Developer Tutorial
I don't know much about SQL Server but either one of these will work:
Pl Sql Developer Tool
Spu2 x 2 0 download speed. OR