HP (Hewlett-Packard) c-tree-SQL ISQL and Tool reference Guide Printer User Manual


 
ISQL Statements
FairCom Corporation 3-33
3.7.15 QUIT or EXIT
Syntax
Q[UIT]
Description
The QUIT statement terminates the current ISQL session.
Related Statements
QUIT and EXIT are synonymous. There is no difference in their effect.
3.7.16 RUN
Syntax
R[UN] [stmt_num];
Description
The RUN statement executes the statement with the specified statement number from the state-
ment history buffer and makes it the current statement by adding it to the end of the history list.
If RUN omits stmt_num, it runs the current statement.
Example
The following example runs the fifth statement in the history buffer.
ISQL> HISTORY
1 title
2 title top "TEST TITLE" skip 5
3 title
4 help title
5 select customer_name from customers
6 display "Display on page break!"
7 display "Test page break display" on page
ISQL> RUN 5
select customer_name from customers
CUSTOMER_NAME
-------------
Sports Cars Inc.
Mighty Bulldozer Inc.
Ship Shapers Inc.
Tower Construction Inc.
Chemical Construction Inc.
Aerospace Enterprises Inc.
Medical Enterprises Inc.
Rail Builders Inc.
Luxury Cars Inc.