Basic Introduction to Oracle and common SQL * PLUS commands

Source: Internet
Author: User

Basic Introduction to Oracle and common SQL * PLUS commands

Run Database Configuration Assistant as an administrator to create a Database instance. To use Oracle, you must first start the Oracle service, find the service in the task manager, and open the services and listener services related to OracleService. If there is no listener service, you must manually create a listener service.

Oracle Installation will automatically generate sys and system users

1. The sys user is a super user with the highest permissions, The sysdba role, and the create database permission. The default password of this user is manager.

2. The system user is a management operator and has a high permission. He has the sysoper role and does not have the create database permission. The default password is change_on_install.

Generally, you can use the system user to log on to database maintenance.

The Oracle management tool SQL * plus is mainly used to execute SQL statements, pl \ SQL blocks.

Right-click SQL * plus as an administrator and enter the user name and password. The host string is the name of the instance. If only one instance is started, you can leave it blank. The default one is the one started.

Right-click to run plsql as Administrator (solve not logged on problem)

Run the following command in cmd:

Sqlplus "scott/tiger"

Sqlplus "hr/hr"

Sqlplus "sys/oracle as sysdba"

Common SQL plus commands

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: info-contact@alibabacloud.com 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.