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
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
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
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 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
Chinese New Year at home no matter, also because oneself is small white, in order to review, tidy up a bit sqlplus use method, usually use Sqlplus there are two cases, is nothing more than local link and remote connection. When the
Connection errorafter installation, I log in to the Enterprise background (HTTP://UBUNTU:1158/EM) error, with Sqlplus connection Oracle also error.One, the error encountered is as follows1,ora-12505:tns:listener does not currently know of SID given
Sqlplus usually have four ways of connecting1.?
1
sqlplus / assysdba
Operating system authentication, does not require the database server to start listener, nor does it require the database server to be in a usable
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.