ASA SQL Reference
SQL Functions
Alphabetical list of functions
Generates integer values, starting at 1, for each successive row in a query. Its implementation is identical to that of the NUMBER function.
IDENTITY ( expression )
expression An expression. The expression is parsed, but is ignored during the execution of the function.
For a description of how to use the IDENTITY function, see the NUMBER function [Miscellaneous].
SQL/92 Transact-SQL extension.
SQL/99 Transact-SQL extension.
Sybase Offers similar behavior to that of Adaptive Server Enterprise.
NUMBER function [Miscellaneous]
The following statement returns a sequentially-numbered list of employees.
SELECT IDENTITY( 10 ), emp_lname FROM employee