Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - SQL Reference » SQL functions » Functions

 

NUMBER function [Miscellaneous]

Generates numbers starting at 1 for each successive row in the results of the query. The NUMBER function is primarily intended for use in SELECT lists.

Due to limitations imposed by the NUMBER function (described in the Remarks section below), use the ROW_NUMBER function instead. The ROW_NUMBER function provides the same functionality, but without the limitations of the NUMBER function. See ROW_NUMBER function [Miscellaneous].

 Syntax
 Returns
 Remarks
 See also
 Standards and compatibility
 Example