Oracle Learning (I.)

Source: Internet
Author: User
Tags oracle database installation sqlplus

Oracle database installation to reserve 5G space, Oracle Common version
· Oracle8, oracle8i: where "I" means the Internet, which means that Oracle is starting to evolve to the network,
· Oracle9i: Is the stable version of Oracle8i, but also now see the most version, 3CD;
· ORACLE10G: Indicates that Oracle started the database based on grid computing;
· ORACLE11G: Is the stable version of oracle10g, is the mainstream version of the promotion,
· ORACLE12C: "C" represents the concept of cloud computing and is now the latest version.
   Note: The @ file name (@mldn, if the suffix is "*.sql" can not be written). Conversely, the same is true
the file that is already on the running disk can be the "@ File name full path name"
Four main user information in the database:
• Super Administrator: Sys/change_on_install, the actual development can not use this password;
• General Administrator: System/manager, the actual development can not use this password;
• Normal User: Scott/tiger, need to unlock, this user is a very classic user;
• Big Data User (instance scheme database): sh/sh, need to unlock;

• After correctly installing Oracle, run the sqlplus command to enter the database username and password
One, the first command displays the format operation
• Set the length of data displayed per row: Set Linesize 300;
• Set the number of data rows displayed per page: Set PAGESIZE30;
Second, Switch User command
Oracle has a total of four users, the switch between the four users:
· conn username/password [as SYSDBA]
If you log in with the "SYS" account, you must write "as SYSDBA", and you can log in
The "Show user" command to see which is the current logged-on user.
Example
Login with "SYS": CONN Sys/change_on_install as SYSDBA;
Example
Login with "Scott": CONN Scott/tiger;
Third, call the native command
In the Sqlplus command, you can call the native Doc command directly, for example: Copy command:
Host Cpoy source file path destination file path
Host Copy D:\my.txt D:\hello.txt

Oracle Learning (I.)

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.