1.1.1

Table Of Contents
Syntax
CLOSE
Identifier
Description
Closes the named cursor. The cursor must have previously been successfully created with the sqlf get scroll
insensitive cursor on page 446 command.
Example
sqlf(PEERCLIENT)> get scroll insensitive with nohold cursor
scrollCursor as 'select * from firsttable order by id';
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
sqlf(PEERCLIENT)> close scrollCursor;
commit
Issues a java.sql.Connection.commit request.
Syntax
COMMIT
Description
Issues a java.sql.Connection.commit request. Use this command only if auto-commit is off. A
java.sql.Connection.commit request commits the currently active transaction and initiates a new transaction.
Example
sqlf(PEERCLIENT)> AUTOCOMMIT off;
sqlf(PEERCLIENT)> insert into airlines VALUES ('NA', 'New
Airline', 0.20, 0.07, 0.6, 1.7, 20, 10, 5);
1 row inserted/updated/deleted
sqlf(PEERCLIENT)> commit;
connect
Connects to the database indicated by the ConnectionURLString.
439
sqlf Interactive Commands