From the editor, a slash (/) is added to execute the statement and no semicolon is used.
SQL> SELECT SUBSTR('My address is 123 Fourth St.',1,12)FROM dual
2 /
SUBSTR('MYAD
------------
My address i
SQL>
29.19.SQL PLUS Editor |
| 29.19.1. | To run statements in Oracle from the command line, a semicolon must be added. |