Product Documentation

FairCom ISQL

Previous Topic

Next Topic

RUN

Syntax

R[UN] [stmt_num];

Description

The RUN statement executes the statement with the specified statement number from the statement 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.

Office Furniture Inc.

10 records selected

ISQL>


TOCIndex