1.1

Table Of Contents
------------------------
40 |FORTY
GetCurrentRowNumber
Returns the row number for the current position of the named scroll cursor.
Syntax
GETCURRENTROWNUMBER Identifier
Description
After the cursor is created with the get scroll insensitive cursor on page 434, returns the row number for the
current position of the named scroll cursor. Zero (0) is returned if the cursor is not positioned on a row.
Example
sqlf(PEERCLIENT)> get scroll insensitive with nohold cursor
scrollCursor as 'select * from firsttable order by id';
sqlf(PEERCLIENT)> absolute 3 scrollCursor;
ID |NAME
------------------------
30 |THIRTY
sqlf(PEERCLIENT)> before first scrollCursor;
No current row
sqlf(PEERCLIENT)> GETCURRENTROWNUMBER scrollCursor;
0
sqlf(PEERCLIENT)> relative 2 scrollCursor;
ID |NAME
------------------------
20 |TWENTY
sqlf(PEERCLIENT)> GETCURRENTROWNUMBER scrollCursor;
2
help
Prints a list of the sqlf commands.
Syntax
HELP
Description
Prints out a brief list of the sqlf commands.
last
Moves the cursor to the last row in the ResultSet, then fetches the row.
Syntax
LAST
Identifier
vFabric SQLFire User's Guide436
vFabric SQLFire Reference