SQL Foundation of Oracle Database

Source: Internet
Author: User

Main content: User and table space; tables and constraints; Query statements.

I. Overview

Oracle Installation: Visit the website, download

Second, the User and table space

You can log in to Oracle with SQL Puls in the Start menu when you install Oracle.

1. System users
    • sys, system (sys has more permissions than system,sys can only be logged on with the administrator sysdba System can log in directly )
    • Sysman (for Enterprise management, also administrator-level users)
    • Scott (password default password is Tiger)

When you install Oracle, the first three users ' passwords are set by yourself and are generally set to a uniform password.

2. User Login

Logon method: (case insensitive in SQL statements)

Method One:[Username/password] [@server] [as Sysdba|sysoper]
Method Two:connnect username/password @server as Sysdba|sysoper
Example: using System User Login
System/root @orcl SA sysdba
ORCL is the service name you set ( Note: If the database and server are not on the same machine, you need to enter the service name or IP address )

3. View logged in user

    • Show user command

SQL Foundation of Oracle Database

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.