HP c-tree-SQL ISQL and Tools manual Quit or Exit Syntax, RUN Syntax, Isql History

Models: c-tree-SQL ISQL and Tools

1 99
Download 99 pages 4.83 Kb
Page 59
Image 59

ISQL Statements

3.7.15QUIT 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.16RUN

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

1title

2title top "TEST TITLE" skip 5

3title

4help title

5select customer_name from customers

6display "Display on page break!"

7display "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.

FairCom Corporation

3-33

Page 59
Image 59
HP c-tree-SQL ISQL and Tools manual Quit or Exit Syntax, RUN Syntax, Isql History