Oracle Sqlplus Command Encyclopedia _oracle

Source: Internet
Author: User
Tags reserved sqlplus

1. Brief Introduction:

Oracle's Sql*plus is a client tool that interacts with Oracle. In Sqlplus, you can run the Sqlplus command and the Sqlplus statement, and the DML, DDL, and DCL statements that we normally refer to are sqlplus statements that, when executed, can be stored in a memory area called SQL buffer. And can only save a recently executed SQL statement, we can modify the SQL statements saved in SQL buffer, and then execute again, sqlplus generally with the database.

2. Common commands

Sqlplus Username/password such as: Ordinary user login Sqlplus Scott/tiger sqlplus username/password@net_service_name such as: Sqlplus scott/ Tiger@orcl
Sqlplus Username/password as SYSDBA: Sqlplus sys/admin as Sysdba sqlplus username/password@//host:port/sid NOTE: SYS and system need to log in as SYSDBA after entering Sql*plus, you can use Conn to connect to other users, such as: Conn Sys/admin as SYSDBA in a DOS environment (Windows system) or in the terminal (Linux system), Enter "Sqlplus/?" as follows:

suguniang@suguniang:/home/oracle$ sqlplus/?

The results shown below are some of the more detailed information about Oracle:

Sql*plus:release Production on Thu Sep 15 12:55:27 2016

Copyright (c) 1982, Oracle. All rights reserved.

Sql*plus:release Production

Copyright (c) 1982, Oracle. All rights reserved.

Use Sql*plus to execute SQL, Pl/sql, and Sql*plus statements.

Usage 1:sqlplus-h | -V

-h displays Sql*plus version and usage help.

-V Displays the Sql*plus version.

Usage 2:sqlplus [[

Described above is a small series of Oracle to introduce the Sqlplus command Daquan, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!

Related Article

Contact Us

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: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.