SQL$HELP72.HLB  —  EDIT  Examples
    Example 1: Correcting a misspelled statement

    1. Make a mistake:

       SQL> SELECT JOB_TITLE FROM JOSB;
       %SQL-F-RELNOTDEF, Table JOSB is not defined in schema
       SQL>

    2. Invoke the editor:

       SQL> EDIT

    3. When in the editor, change JOSB to JOBS. See the manual for
       the editor you are using for detailed editing instructions.

    4. Exit from the editor. SQL automatically executes the contents
       of the editing buffer.

       * EXIT
       SELECT JOB_TITLE FROM JOBS;
        Associate Programmer
        Clerk
        Assistant Clerk
        Department Manager
        Dept. Supervisor
              .
              .
              .
Close Help