1. What is sqlplus? Sqlplus is an interactive tool for batch query. Sqlplus is installed for each oracle database. Sqlplus works in the command line mode. SQL * Plus has its own command set and environment. Sqlplus provides users with a way to
Tips for using sqlplus
During Oracle maintenance, Oracle currently has many easy-to-use client tools, such as PLSQL, delveloer, and toad. However, as a database administrator, you also need to deal with sqlplus frequently, some common operations
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
when an Oracle database is installed successfully, related database information is displayed:
Global Database name: Oracle
System identifier (SID): Oracle
Server parameter filename: C:\oracle\product\10.2.0\db_1/dbs/spfileoracle.ora
The Database
Once the oracle database is successfully installed, the related database information is displayed: Global Database Name: oracleSystem identifier (SID): oracleServer parameter file name: c: \ oracle \ product \ 10.2.0 \ db_1/dbs/spfileoracle.
Common commands:Connect to sqlplusRun CMD in the command line to enter. For example, to log on in SYS mode, the command is as follows:(1). sqlplus "sys/zhb126 as sysdba"
(2). sqlplus/nolog connect sys/zhb126 as sysdba
(3). sqlplus Scott/Tiger
Start
Common commands:Connection SqlplusCommand line to run CMD entry, such as logging in the SYS mode, the command is as follows:(1). Sqlplus "sys/zhb126 as SYSDBA"(2). Sqlplus/nolog Connect sys/zhb126 as Sysdba(3). Sqlplus Scott/tigerStart a DB
Sqlplus provides many common commands. The following describes how to use them.
1-> sqlplus login and exit
Sqlplus-H |-v-H displays the version and help information of sqlplus, and-V displays the login Syntax of its version information:
Is :
1. What is the initial password after oracle is installed?
Internal/Oracle
Sys/change_on_install
System/Manager
Scott/Tiger
Sysman/oem_temp
2. What is the initial Default User and password of Oracle9iAS Web Cache?Administrator/Administrator
3. How
Explain the Oracle SQLPlus runtime environment, common Oracle System Function instances, and sqlplus instances
1. Introduction to the SET command
Set command sets the running environment of SQL * Plus. The syntax FORMAT OF THE set command is:
SET
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.