Oracle 11g simplified version creates users by importing SQL

Source: Internet
Author: User

Environment: Oracle 11g R2 + SQLPlus

Problem: Oracle SQL Import

Solution:

Win + Run -------> Cmd -------> enter the following command:

  1. -- Syntax: sqlplus user name/password @ SQL File 
  2. Sqlplus system/manager @ H: \ Oracle \ product \ 11.2.0 \ dbhome_1 \ RDBMS \ ADMIN \ scott. SQL

Note: scott under H: \ Oracle \ product \ 11.2.0 \ dbhome_1 \ RDBMS \ ADMIN. the SQL file records the table and data of the SQL user. Importing this file is equivalent to creating the SCOTT user. The directory contains other user information.

Use the following command to log on to the user:

Conn SCOTT/TIGER;-- Case sensitive

Summary: Oracle 11g simplified version does not have scott, so it is impossible to unlock this user. You can create a scott user in this way and import the table and data of the scott user. However, we cannot know why the username becomes capitalized during connection. I think Oracle Enterprise Edition has this scott user by default. The creation method should be the method described in this article. scott User Logon for Enterprise Edition has a lower-case user name and password. However, you can change scott's username and password to lowercase by modifying the scott. SQL file. Welcome to shoot bricks.

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.