how to connect to oracle database using sqlplus command
how to connect to oracle database using sqlplus command
Want to know how to connect to oracle database using sqlplus command? we have a huge selection of how to connect to oracle database using sqlplus command information on alibabacloud.com
Troubleshooting of Logon failures when su switches to sqlplus in Oracle, oraclesqlplusProblem description:The oracle database in the production environment suddenly fails to log on, and the oracle database in the rlwrap production environment
[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,
How to connect to the Oracle database and how to solve the fault-Summary highly recommended This article describes how to connect to Oracle Summary , Especially suitable Program Developers and Oracle cainiao How to configure to connect the client
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
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
1. Oracle startup and Shutdown1. In a single-host environmentTo start or shut down the Oracle system, you must first switch to the Oracle user, as shown below:Su-Oracle
A. Start the Oracle SystemOracle> svrmgrlSvrmgr> connect internalSvrmgr>
Use of oracle sqlplus 1. log on to sqlplus www.2cto.com oracle @ omu:> sqlplus/assysdba oracle @ omu:> sqlplus sys/oracle as sysdba 2 as a system administrator. connect to the database (You need to log on to sqlplus first) SQL> conn cgp_1/cgp_1 SQL>
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
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.