1.1.1

Table Of Contents
Example
sqlf(PEERCLIENT)> disconnect peerclient;
sqlf>
driver
Issues a Class.forName request to load the named class.
Syntax
DRIVER
DriverNameString
Description
Takes the value of the DriverNameString and issues a Class.forName request to load the named class. The class
is expected to be a JDBC driver that registers itself with java.sql.DriverManager.
Note: You must set the CLASSPATH environment variable before launching sqlf.
In SQLFire, you can use this command to connect to an external database that is used to load or write cached
data.
If the Driver command succeeds, a new sqlf prompt appears for the next command.
Example
This example loads the Apache Derby client driver. This enables you to make a connection
to the database, assuming that a Derby Network Server is available on the example host
and port.
sqlf> driver 'org.apache.derby.jdbc.ClientDriver';
sqlf> connect 'jdbc:derby://armenia:29303/myDB;create=true';
sqlf>
elapsedtime
Displays the total time elapsed during statement execution.
Syntax
ELAPSEDTIME { ON | OFF }
Description
When elapsedtime is turned on, sqlf displays the total time elapsed during statement execution. The default
value is OFF.
Example
sqlf(PEERCLIENT)> elapsedtime on;
sqlf(PEERCLIENT)> select * from airlines;
443
sqlf Interactive Commands