How Do I Connect to Sqlplus on Linux?
Contents How Do I Connect to Sqlplus? Starting Sql*Plus Command-Line Open a Unix or a Windows Terminal and Enter the Sql*Plus Command: Sqlplus. When Prompted...
Contents
How do I connect to Sqlplus?
Starting SQL*Plus Command-line
- Open a UNIX or a Windows terminal and enter the SQL*Plus command: sqlplus.
- When prompted, enter your Oracle Database username and password. …
- Alternatively, enter the SQL*Plus command in the form: sqlplus username/password. …
- SQL*Plus starts and connects to the default database.
How do I run a Sqlplus script in Linux?
To run a SQL script using SQL*Plus, place the SQL along with any SQL*Plus commands in a file and save it on your operating system. For example, save the following script in a file called “C:emp. sql”.