2 Day Developer > Using SQL Command Line > Using SQL Command Line > Starting and Exiting SQL Co...
Starting and Exiting SQL Command Line |
Previous |
Next |
To start SQL Command Line from the operating-system command prompt, enter the following:
sqlplus
When prompted, enter the username and password of the user account (schema) that you want to access. For example, enter HR
for the username and your_hr_password
when prompted.
After you have start SQL Command Line, the SQL>
prompt displays as follows:
SQL>
At the SQL>
prompt, you can enter SQL statements.
When you want to exit SQL Command Line, enter EXIT
at the SQL prompt, as follows:
SQL> EXIT