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

SQL Anywhere 12.0.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 [Miscellaneous], instead. The ROW_NUMBER function provides the same functionality, but without the limitations of the NUMBER function.

 Syntax
 Returns
 Remarks
 Standards and compatibility
 Example