This is an old revision of the document!


DRAFT

Omnidex SQL Function: $CURRENT_ROW

Description

Returns the current row as an ascending number from starting with 1.

This number is assigned after all other clauses are processed.

This function may only be used as a select-item. It may NOT be used in a WHERE , GROUP BY, ORDER BY, or HAVING clause.

The return data type is INTEGER.

Syntax

$CURRENT_ROW

Example

Example 1

select $current_row, company from customers

$CURRENT_ROW   COMPANY
------------   -------------------------------------

1  Dynamic Information Systems Corporation

2  The Bovaird Supply Company

3  Graham Container Companies

...
 
Back to top
dev/sql/functions/current_row.1278694648.txt.gz ยท Last modified: 2016/06/28 22:38 (external edit)