Discover sqlplus show database name, include the articles, news, trends, analysis and practical advice about sqlplus show database name on alibabacloud.com
[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,
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
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
First, sqlplus query results, can be adjusted according to their own screen conditions, set the following:1. Set the number of rows to display on a pageShow pagesize; First look at the current pagesize, the default is 14Set pagesize 100; Set
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>
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
Http://blog.sina.com.cn/s/blog_5e17f8840100bgl8.html
Detailed Description: Database Name, Instance name, oracle_sid, database domain name, Global Database Name, service name, and manual script to create an Oracle database
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.
SELECT * FROM dept;Input order by dname; Append text command del n DELETE statementCelar buffer; command to clear the bufferConn SYS as SYSDBA login userTypically, Sqlplus is installed by default as long as the server-side or client of Oracle is
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.