The Oracle HR example uses 10g, 11g, and oracle11g.
Oracle HR example users can create 10g, 11g
First, add the 10. SQL files in the attachment (see the end of the article) to this path:
$ ORACLE_HOME/demo/schema/human_resources
Script Name
Description
Tags: Ops directory sed nal RTM user its source users Oracle HR Example User's build 10g,11g can be Put the 10. sql files on the attachment (see the end of the article) in this path first: $ORACLE _home/demo/schema/human_resources
Script Name
Description
Hr_analz.sql
The Oracle HR sample user's build 10g,11g can bePut the 10. sql files on the attachment (see the end of the article) in this path first:$ORACLE _home/demo/schema/human_resources
Script Name
Description
Hr_analz.sql
Collects statistics on the tables in the
are created and given permissions to start exporting data from an HR user:
[Oracle@oracle ~]$ exp hr/hr file=hr_aa_130906.dmp log=hr_aa_130906.log
Export:release 10.2.0.1.0-production on Sun Sep 8 15:13:57 2013
Copyright (c) 1982, +,
In fact, Oracle comes with a demo mode, and I've been kneeling to lick the outside of the training organization's SQL fileFirst log in to the SQL system userInput:Alter User by HRLogin user hr via password hrRun under Windows:@?\demo\schema\human_resources\hr_main.sqlThe script will then prompt you to enter: HR passwo
user hr identified by hr; (Change Password)
User altered.
SQL> select username, account_status from dba_users;
USERNAME ACCOUNT_STATUS
--------------------------------------------------------------
SYS OPEN
SYSTEM OPEN
DBSNMP OPEN
SCOTT OPEN
HR OPEN
Outln expired LOCKED
SQL> conn hr/
Oracle unlocking and locking (for HR Users)
SQL * Plus: Release 9.2.0.4.0-production on TUE Jul 14 18:12:38 2009
Copyright (c) 1982,200 2, Oracle Corporation. All rights reserved.
SQL> conn sys/sys as sysdba
Connected.
SQL> show user
User is "sys"
SQL> DESC dba_users
Name null? Type
-----------------------------------------------------------------------------
A database schema (schema) is a logical container of data structures, called schema Objects (schema objects)Each database user has a pattern that is the same as the user name, such as an HR user with HR mode.In a product database,
Oracle Database Concepts: introduces the Schema Objects (Introduction to Schema Objects) and conceptsschema
Database schema is a logical container of data structures. It is called schema objects)
Each database user has the same mode as the user name. For example, the
Original: The difference between Oracle user and schema (schema)Overview:(a) What Oracle calls the User: A user is a name, defined in the database, can connect to and Access objects.The Oracle user connects to the database and accesses the database object. (the user is used
Oracle-hr Table query command exercises (a complete list of select commands) switch to the oracle hr user to practice 1. query the names and salaries of employees whose salaries are greater than 12000. Select initcap (concat (last_name, first_name) "name", salary from employees where salary> 12000; 2. query the name an
Tags: description roc note Database ADO ESS VPD details 9.pngTo create the user's syntax:Create user username identified by password default Tablespace table space quota size on table space;Note: While user names are written in lowercase when they are created, they are capitalized when stored in a data dictionary, such as create user Tom. If you want to use lowercase, the user name needs to be enclosed in double quotation marks to create "Tom"The user created does not have any permissions and do
Tags: style color io ar using strong SP data onOverview:(a) What Oracle calls the User: A user is a name, defined in the database, can connect to and Access objects.The Oracle user connects to the database and accesses the database object. (the user is used to connect to the database to access the database).(ii) What is the schema (
on are allocated in segments. When you create a table, a table segment is created, and an index segment is created when an index is created. Each object that consumes storage space is eventually stored in a single segment. There are rollback segment, temporary segment, cluster segment, index segment, etc.
A tablespace is a logical container that is associated with a data file and a table space that has at least one data file associated with it. A table space can have multiple segments, and a se
why we see the schema name as the database username under the schema of Enterprise Manager. The Oracle database cannot create a new schema, and to create a schema, it can only be solved by creating a user method (although Oracle
objects named jobs in the HR schema, and then for packages, types, tables, and views named HR in the current schema.
It seems that you can understand the problem above. in SQL name parsing, when such a prefix with a dot number first resolves the schema before the DoT number
the difference between Oracle user and schema (original)
Blog Categories:Oracle Day-to-day Management
Overview
The schema and user definitions are as follows
A schema is a collection of the database objects (used by a user.).Schema objects are the logical structures that di
an index segment is created when an index is created. Each object that consumes storage space is stored in a single segment. Rollback segments, temporary segments, clustering segments, and index segments are supported.A tablespace is a logical container associated with a data file. A tablespace must have at least one data file associated with it. One tablespace can have multiple segments, and one segment can belong to only one tablespace.Schema, also called
Database theory in the database user and database schema is not necessarily linked, detailed database schema interpretation can be found here:Http://stackoverflow.com/questions/2674222/what-is-purpose-of-database-schemaA database schema is a-logically group objects such as tables, views, stored procedures etc. Think of a sche
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.