1.1

Table Of Contents
Description
Moves the cursor to the rst row in the ResultSet, then fetches the row. You rst create the cursor with the get
scroll insensitive cursor on page 434 command. It displays a banner and the values of the 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)> first scrollCursor;
ID |NAME
------------------------
10 |TEN
get scroll insensitive cursor
Creates a scrollable insensitive cursor with the name of the Identier.
Syntax
GET SCROLL INSENSITIVE WITH NOHOLD
CURSOR
Identifier
AS
String
Note: SQLFire does not support holdable result sets.
Description
Creates a scrollable insensitive cursor with the name of the Identier. The command issues a
createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY) call and then
executes the statement with a java.sql.StatementExecuteQuery request on the value of the String.
If the String is a statement that does not generate a result set, the behavior of the underlying database determines
whether an empty result set or an error is issued. If an error occurs in executing the statement, no cursor is created.
sqlf sets the cursor name using a java.sql.Statement.setCursorName request. Behavior with respect to duplicate
cursor names is controlled by the underlying database. SQLFire does not allow multiple open cursors with the
same name.
vFabric SQLFire User's Guide434
vFabric SQLFire Reference