1. Brief Introduction:
Oracle's Sql*plus is a client tool that interacts with Oracle. In Sqlplus, you can run the Sqlplus command and the Sqlplus statement, and the DML, DDL, and DCL statements that we normally refer to are sqlplus statements that, when executed, can be stored in a memory area called SQL buffer. And can only save a recently executed SQL statement, we can modify the SQL statements saved in SQL buffer, and then execute again, sqlplus generally with the database.
2. Common commands
Sqlplus Username/password such as: Ordinary user login Sqlplus Scott/tiger sqlplus username/password@net_service_name such as: Sqlplus scott/ Tiger@orcl
Sqlplus Username/password as SYSDBA: Sqlplus sys/admin as Sysdba sqlplus username/password@//host:port/sid NOTE: SYS and system need to log in as SYSDBA after entering Sql*plus, you can use Conn to connect to other users, such as: Conn Sys/admin as SYSDBA in a DOS environment (Windows system) or in the terminal (Linux system), Enter "Sqlplus/?" as follows:
suguniang@suguniang:/home/oracle$ sqlplus/?
The results shown below are some of the more detailed information about Oracle:
Sql*plus:release 11.2.0.1.0 Production on Thu Sep 15 12:55:27 2016
Copyright (c) 1982, Oracle. All rights reserved.
Sql*plus:release 11.2.0.1.0 Production
Copyright (c) 1982, Oracle. All rights reserved.
Use Sql*plus to execute SQL, Pl/sql, and Sql*plus statements.
Usage 1:sqlplus-h | -V
-h displays Sql*plus version and usage help.
-V Displays the Sql*plus version.
Usage 2:sqlplus [[
Described above is a small series of Oracle to introduce the Sqlplus command Daquan, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!