Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:sql:functions:current_row [2010/07/28 22:59]
els
dev:sql:functions:current_row [2016/06/28 22:38] (current)
Line 2: Line 2:
 {{page>:​sql_bar&​nofooter&​noeditbtn}} {{page>:​sql_bar&​nofooter&​noeditbtn}}
  
-====== Omnidex SQL Function: ​$$CURRENT_ROW ======+====== Omnidex SQL Function: $CURRENT_ROW ======
 ===== Description ===== ===== Description =====
 The $CURRENT_ROW function return the current row number for the result set.  The first row returned from a SELECT statement is given a value of 1, and each successive row is incremented by one.  This is done as the last step of a statement, and so $CURRENT_ROW can only be used as a select-item. ​ It cannot be used in the WHERE, GROUP BY, ORDER BY or HAVING clauses.  ​ The $CURRENT_ROW function return the current row number for the result set.  The first row returned from a SELECT statement is given a value of 1, and each successive row is incremented by one.  This is done as the last step of a statement, and so $CURRENT_ROW can only be used as a select-item. ​ It cannot be used in the WHERE, GROUP BY, ORDER BY or HAVING clauses.  ​
 
Back to top
dev/sql/functions/current_row.1280357951.txt.gz ยท Last modified: 2016/06/28 22:38 (external edit)