[Oracle]sqlplus Start parameter description# su-oracle [Grid]Usage 1:sqlplus-h | -V-H[ELP]:Displays the syntax and usage of the Sql*plus command, and then returns control to the operating system.-v[ersion]:Displays the version number of the Sql*plus,
frequently used:
Sqlplus Username/password such as: normal user login Sqlplus Scott/tiger
sqlplus username/[email protected]net_service_name such as: Sqlplus Scott/[email protected]
Sqlplus Username/password as SYSDBA: Sqlplus sys/admin as
frequently used:
Sqlplus Username/password such as: normal user login Sqlplus Scott/tiger
sqlplus username/[email protected]net_service_name such as: Sqlplus Scott/[email protected]
Sqlplus Username/password as SYSDBA: Sqlplus sys/admin as
Our usual DML, DDL, and DCL statements are sql*plus statements that, when executed, can be stored in an area of memory called SQL Buffer, and can only hold a recently executed SQL statement, and we can save SQL in SQL buffer Statements are modified
The DML, DDL, and DCL statements we usually call are SQL * plus statements. After they are executed, they can be stored in a memory area called SQL buffer, in addition, only one SQL statement can be saved recently. We can modify the SQL statement
The following figure shows two steps for installing the Oracle database server software and client software:
Through the above process, we know that the server and the client have a file to be configured, the server is the listener
Use SQL * Plus to connect to the database and sqlplus to connect to the database
About SQL * Plus
SQL * Plus is the primary command-line interface to your Oracle database. you use SQL * Plus to start up and shut down the database, set database
I. Software Download and environment configuration 1. download the software to http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html download the following three packages: Current address: Copy to c: \ instantclient_10_
1. Oracle Installation
Please refer to the following link for more information: http://wenku.baidu.com/view/d01ffd43336c1eb91a375d68.html.
2. Use the command line sqlplus to connect to Oracle
(1) Check the listening status
C: \> LSNRCTL
Frequently used:
Sqlplus username/password for example: normal user login sqlplus Scott/tigersqlplus username/password @ net_service_name For example: sqlplus Scott/tiger @ orcl
Sqlplus username/password as sysdba For example: sqlplus sys/admin
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.