Human Resources Sample Schema
Is the Human Resources Sample Schema available in 10g?
I wasn't successful at downloading 10g_win32...
Then I tried the instant client version...
I got some files: vc6, vc7, vc71, classes12, and a bunch more .dll files.
I just want to download the simplest version that I can use while learning SQL. (Re: "Databases Demystified"). Can anyone point me in the right direction?
Thanks for the reply. What version are you using to get the human resources sample schema? I want to download the simplest version. Initially I tried to download version 10g_win32, not knowing if it had the HR schema or not. Then I tried to download the instant client version of 10g, thinking I would save myself disk space. I just wanted to be sure that after all the bother with problem downloads I would end up with one that I could use. Which version are you using? Can I use it to practice SQL commands?
Similar Messages
-
Where to find companion cd or sample schemas?
Hi
I have Oracle 10g Express Edition intalled on Windows XP. I would like to test the sample schemas but I can only find the Human Resources installed. I read somewhere that they are available on the Oracle 10g companion CD, where can I find this? I have searched everywhere for the file but no luck! Thanks for any advice.
MichaelIt is useless to try to find the Companion disk for XE, it doesn't exist. Oracle Companion disk is available only for the SE or EE editons, not for XE. XE only has included the HR schema. The reason is because the other schemas require options, such as partitioning, which are not available in XE.
If you want to test the other schemas, then you must install the Oracle Enterprise Edition.
~ Madrid
http://hrivera99.blogspot.com/ -
I have installed 10g xe. I am self training using the oracle press book "Oracle Database 10g A Beginner's Guide." However, the book indicates that the customer table, mentioned in chapter 2 is provided as part of the sample schema in 10g. But the only schema I have is HR. Is there a place where I can download and import the schemas mentioned in the book? Or must I install enterprise edition in order to work with them? Thanks to any that can assist.
The Order Entry (OE) schema builds on the purely relational Human Relations (HR) schema with some object-relational and object-oriented features. The OE schema contains seven tables: Customers, Product_Descriptions, Product_Information, Order_Items, Orders, Inventories, and Warehouses. The OE schema has links into the HR schema and PM schema. This schema also has synonyms defined on HR objects to make access transparent to users.
rem
rem Header: oe_cre.sql 09-jan-01
rem
rem Copyright (c) 2001, 2002, Oracle Corporation. All rights reserved.
rem
rem Owner : ahunold
rem
rem NAME
rem oe_cre.sql - create OE Common Schema
rem
rem DESCRIPTON
rem Creates database objects. The script assumes that the HR schema
rem is present.
rem
rem NOTES
rem The OIDs assigned for the object types are used to
rem simplify the setup of Replication demos and are not needed
rem in most unreplicated environments.
rem
rem MODIFIED (MM/DD/YY)
rem hyeh 08/29/02 - hyeh_mv_comschema_to_rdbms
rem ahunold 09/17/01 - FK in PRODUCT_DESCRIPTIONS
rem ahunold 04/25/01 - OID
rem ahunold 03/02/01 - eliminating DROP SEQUENCE
rem ahunold 01/30/01 - OE script headers
rem ahunold 01/24/01 - Eliminate extra lines from last merge
rem ahunold 01/05/01 - promo_id
rem ahunold 01/05/01 - NN constraints in product_descriptions
rem ahunold 01/09/01 - checkin ADE
PROMPT
PROMPT specify Sample Schema version as parameter 1:
DEFINE vrs = &1
PROMPT
-- ======================================================================
-- Type definitions
-- ======================================================================
CREATE TYPE cust_address_typ
OID '82A4AF6A4CD1656DE034080020E0EE3D'
AS OBJECT
( street_address VARCHAR2(40)
, postal_code VARCHAR2(10)
, city VARCHAR2(30)
, state_province VARCHAR2(10)
, country_id CHAR(2)
REM ===========================================================================
REM Create phone_list_typ varray to be varray column in customers table.
REM ===========================================================================
CREATE TYPE phone_list_typ
OID '82A4AF6A4CD2656DE034080020E0EE3D'
AS VARRAY(5) OF VARCHAR2(25);
REM ===========================================================================
REM Create customers table.
REM The cust_geo_location column will become MDSYS.SDO_GEOMETRY (spatial)
REM datatype when appropriate scripts and data are available.
REM ===========================================================================
DEFINE vscript = ?/demo/schema/order_entry/ccus_&vrs
@&vscript
CREATE UNIQUE INDEX customers_pk
ON customers (customer_id) ;
REM Both table and indexes are analyzed using the oe_analz.sql script.
ALTER TABLE customers
ADD ( CONSTRAINT customers_pk
PRIMARY KEY (customer_id)
REM ===========================================================================
REM Create warehouses table;
REM includes spatial data column wh_geo_location and
REM XML type warehouse_spec (was bug b41)
REM ===========================================================================
DEFINE vscript = ?/demo/schema/order_entry/cwhs_&vrs
@&vscript
CREATE UNIQUE INDEX warehouses_pk
ON warehouses (warehouse_id) ;
ALTER TABLE warehouses
ADD (CONSTRAINT warehouses_pk PRIMARY KEY (warehouse_id)
REM ===========================================================================
REM Create table order_items.
REM ===========================================================================
CREATE TABLE order_items
( order_id NUMBER(12)
, line_item_id NUMBER(3) NOT NULL
, product_id NUMBER(6) NOT NULL
, unit_price NUMBER(8,2)
, quantity NUMBER(8)
CREATE UNIQUE INDEX order_items_pk
ON order_items (order_id, line_item_id) ;
CREATE UNIQUE INDEX order_items_uk
ON order_items (order_id, product_id) ;
ALTER TABLE order_items
ADD ( CONSTRAINT order_items_pk PRIMARY KEY (order_id, line_item_id)
CREATE OR REPLACE TRIGGER insert_ord_line
BEFORE INSERT ON order_items
FOR EACH ROW
DECLARE
new_line number;
BEGIN
SELECT (NVL(MAX(line_item_id),0)+1) INTO new_line
FROM order_items
WHERE order_id = :new.order_id;
:new.line_item_id := new_line;
END;
REM ===========================================================================
REM Create table orders, which includes a TIMESTAMP column and a check
REM constraint.
REM ===========================================================================
DEFINE vscript = ?/demo/schema/order_entry/cord_&vrs
@&vscript
CREATE UNIQUE INDEX order_pk
ON orders (order_id) ;
ALTER TABLE orders
ADD ( CONSTRAINT order_pk
PRIMARY KEY (order_id)
REM ===========================================================================
REM Create inventories table, which contains a concatenated primary key.
REM ===========================================================================
CREATE TABLE inventories
( product_id NUMBER(6)
, warehouse_id NUMBER(3) CONSTRAINT inventory_warehouse_id_nn NOT NULL
, quantity_on_hand NUMBER(8)
CONSTRAINT inventory_qoh_nn NOT NULL
, CONSTRAINT inventory_pk PRIMARY KEY (product_id, warehouse_id)
REM ===========================================================================
REM Create table product_information, which contains an INTERVAL datatype and
REM a CHECK ... IN constraint.
REM ===========================================================================
CREATE TABLE product_information
( product_id NUMBER(6)
, product_name VARCHAR2(50)
, product_description VARCHAR2(2000)
, category_id NUMBER(2)
, weight_class NUMBER(1)
, warranty_period INTERVAL YEAR TO MONTH
, supplier_id NUMBER(6)
, product_status VARCHAR2(20)
, list_price NUMBER(8,2)
, min_price NUMBER(8,2)
, catalog_url VARCHAR2(50)
, CONSTRAINT product_status_lov
CHECK (product_status in ('orderable'
,'planned'
,'under development'
,'obsolete')
ALTER TABLE product_information
ADD ( CONSTRAINT product_information_pk PRIMARY KEY (product_id)
REM ===========================================================================
REM Create table product_descriptions, which contains NVARCHAR2 columns for
REM NLS-language information.
REM ===========================================================================
CREATE TABLE product_descriptions
( product_id NUMBER(6)
, language_id VARCHAR2(3)
, translated_name NVARCHAR2(50)
CONSTRAINT translated_name_nn NOT NULL
, translated_description NVARCHAR2(2000)
CONSTRAINT translated_desc_nn NOT NULL
CREATE UNIQUE INDEX prd_desc_pk
ON product_descriptions(product_id,language_id) ;
ALTER TABLE product_descriptions
ADD ( CONSTRAINT product_descriptions_pk
PRIMARY KEY (product_id, language_id));
ALTER TABLE orders
ADD ( CONSTRAINT orders_sales_rep_fk
FOREIGN KEY (sales_rep_id)
REFERENCES hr.employees(employee_id)
ON DELETE SET NULL
ALTER TABLE orders
ADD ( CONSTRAINT orders_customer_id_fk
FOREIGN KEY (customer_id)
REFERENCES customers(customer_id)
ON DELETE SET NULL
ALTER TABLE warehouses
ADD ( CONSTRAINT warehouses_location_fk
FOREIGN KEY (location_id)
REFERENCES hr.locations(location_id)
ON DELETE SET NULL
ALTER TABLE customers
ADD ( CONSTRAINT customers_account_manager_fk
FOREIGN KEY (account_mgr_id)
REFERENCES hr.employees(employee_id)
ON DELETE SET NULL
ALTER TABLE inventories
ADD ( CONSTRAINT inventories_warehouses_fk
FOREIGN KEY (warehouse_id)
REFERENCES warehouses (warehouse_id)
ENABLE NOVALIDATE
ALTER TABLE inventories
ADD ( CONSTRAINT inventories_product_id_fk
FOREIGN KEY (product_id)
REFERENCES product_information (product_id)
ALTER TABLE order_items
ADD ( CONSTRAINT order_items_order_id_fk
FOREIGN KEY (order_id)
REFERENCES orders(order_id)
ON DELETE CASCADE
enable novalidate
ALTER TABLE order_items
ADD ( CONSTRAINT order_items_product_id_fk
FOREIGN KEY (product_id)
REFERENCES product_information(product_id)
ALTER TABLE product_descriptions
ADD ( CONSTRAINT pd_product_id_fk
FOREIGN KEY (product_id)
REFERENCES product_information(product_id)
REM ===========================================================================
REM Create cross-schema synonyms
REM ===========================================================================
CREATE SYNONYM countries FOR hr.countries;
CREATE SYNONYM locations FOR hr.locations;
CREATE SYNONYM departments FOR hr.departments;
CREATE SYNONYM jobs FOR hr.jobs;
CREATE SYNONYM employees FOR hr.employees;
CREATE SYNONYM job_history FOR hr.job_history;
REM ===========================================================================
REM Create sequences
REM ===========================================================================
CREATE SEQUENCE orders_seq
START WITH 1000
INCREMENT BY 1
NOCACHE
NOCYCLE;
REM ===========================================================================
REM Need commit for PO
REM ===========================================================================
COMMIT;And yes, you must install at least Oracle SE to get completely this sample schemas on your file system :( -
I have installed 10g application server and jdeveloper - but cannot find any of the scripts to create the sample schema. From searching the OTN forums it seams that the onl way of obtaing these scripts is to install the database or companion disk and run from the demo folder.
This seems a bit over the top - i had intended to use the infrastructure database, (my system dosn't have enough resources to install a seperate database), can any helpful person email the scripts, perhaps someone from oracle might be able to make this easier there seems to be a fair bit of interest in this on the forums.
Many thanks Terry BennettHi Terry,
When you installed Oracle 10g, the demo tables should have been installed under the scott schema. Try select * from scott.emp and see if you get any results. Incase you are looking for the script for the demo tables, its in $ORACLE_HOME/rdbms/admin/utlsampl.sql (in my case its in C:\oracle\product\10.1.0\Db_1\RDBMS\ADMIN).
Hope that helps.
-Raj -
Hi I am new to sqlOracle
I was trying to follow some Oracle tutorial,but i needed to install the sample schemas (OE-order entry) first
http://www.oracle.com/technology/obe/obe1013jdev/common/OBEConnection.htm
1. First i download the sample_schema_scripts.zip and extracted into the folder
c:\schema that i created
2. I start database from my database OracleEX10g
3. go to the C:\schema that have the sql script (oe8_main.sql)
4.use sqlplus
5. login as system and put the password
6. run the scripts oe8_main.sql with no problems
7. it asked me for " specify password for oe8 as parameter 1:
and i need to enter value for 1: which is i dont know
8. i need to fil this value til parameter 6
9. so i typed the value &1 for parameter 1 and &2 for parameter 2...til parameter 6
10. it showned error:
ERROR at line 1:
ora-00988 : missing or invalid passwords(s)
and user or role 'OE8" does not exist and
ask me to enter value for database_name: which i dont know
11. anyone can help to solve the problem and how can i know what are the passwords for 6 parameters
12. Do i need to create my new user because i used system as a user
13. this is the content of oe8_main.sql file attached:
SET ECHO OFF
PROMPT
PROMPT specify password for oe8 as parameter 1:
DEFINE pass = &1
PROMPT
PROMPT specify default tablespeace for oe8 as parameter 2:
DEFINE tbs = &2
PROMPT
PROMPT specify temporary tablespace for oe8 as parameter 3:
DEFINE ttbs = &3
PROMPT
PROMPT specify password for HR as parameter 4:
DEFINE passhr = &4
PROMPT
PROMPT specify password for SYS as parameter 5:
DEFINE pass_sys = &5
PROMPT
PROMPT specify path for log files as parameter 6:
DEFINE log_path = &6
PROMPT
-- The first dot in the spool command below is
-- the SQL*Plus concatenation character
DEFINE spool_file = &log_path.oe8_main.log
SPOOL &spool_file
-- Dropping the user with all its objects
DROP USER oe8 CASCADE;
REM =======================================================
REM create user
REM
REM The user is assigned tablespaces and quota in separate
REM ALTER USER statements so that the CREATE USER statement
REM will succeed even if the demo and temp tablespaces do
REM not exist.
REM =======================================================
CREATE USER oe8 IDENTIFIED BY &pass;
ALTER USER oe8 DEFAULT TABLESPACE &tbs QUOTA UNLIMITED ON &tbs;
ALTER USER oe8 TEMPORARY TABLESPACE &ttbs;
GRANT CONNECT TO oe8;
GRANT RESOURCE TO oe8;
GRANT CREATE MATERIALIZED VIEW TO oe8;
GRANT QUERY REWRITE TO oe8;
REM =======================================================
REM grants from sys schema
REM =======================================================
rem KM: 01Aug02 - remove "AS SYSDBA" clause - NOT needed FOR GRANT
CONNECT sys/&pass_sys&&database_name
GRANT execute ON sys.dbms_stats TO oe8;
REM =======================================================
REM grants from hr8 schema
REM =======================================================
CONNECT hr8/&passhr&&database_name;
GRANT REFERENCES, SELECT ON employees TO oe8;
GRANT REFERENCES, SELECT ON countries TO oe8;
GRANT REFERENCES, SELECT ON locations TO oe8;
GRANT SELECT ON jobs TO oe8;
GRANT SELECT ON job_history TO oe8;
GRANT SELECT ON departments TO oe8;
REM =======================================================
REM create oe8 schema (order entry)
REM =======================================================
CONNECT oe8/&pass&&database_name
ALTER SESSION SET NLS_LANGUAGE=American;
ALTER SESSION SET NLS_TERRITORY=America;
@@oe8_cre
@@oe8_p_pi
@@oe8_p_pd
@@oe8_p_whs
@@oe8_p_cus
@@oe8_p_ord
@@oe8_p_itm
@@oe8_p_inv
@@oe8_views
@@oe8_comnt
@@oe8_idx
@@oe8_analz
spool offHi,
HR sample schema already comes with Oracle XE, so you don't need to re-install it. Anyways ...
C:\>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Jun 22 12:58:20 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SYS@XE> @C:\oraclexe\app\oracle\product\10.2.0\server\demo\schema\human_resources\hr_main.sql;
specify password for HR as parameter 1:
Enter value for 1: HR -- put here some password
specify default tablespeace for HR as parameter 2:
Enter value for 2: USERS
specify temporary tablespace for HR as parameter 3:
Enter value for 3: TEMP
specify password for SYS as parameter 4:
Enter value for 4: MANAGER -- password that you defined at Oracle XE installation
specify log path as parameter 5:
Enter value for 5: C:\
User dropped.
old 1: CREATE USER hr IDENTIFIED BY &pass
new 1: CREATE USER hr IDENTIFIED BY hr
User created.
old 1: ALTER USER hr DEFAULT TABLESPACE &tbs
new 1: ALTER USER hr DEFAULT TABLESPACE users
old 2: QUOTA UNLIMITED ON &tbs
new 2: QUOTA UNLIMITED ON users
User altered.
old 1: ALTER USER hr TEMPORARY TABLESPACE &ttbs
new 1: ALTER USER hr TEMPORARY TABLESPACE temp
User altered.
Grant succeeded.
Grant succeeded.
Connected.
Grant succeeded.
Connected.
Session altered.
Session altered.
****** Creating REGIONS table ....
Table created.
Index created.
Table altered.
****** Creating COUNTRIES table ....
Table created.
Table altered.
****** Creating LOCATIONS table ....
Table created.
Index created.
Table altered.
Sequence created.
****** Creating DEPARTMENTS table ....
Table created.
Index created.
Table altered.
Sequence created.
****** Creating JOBS table ....
Table created.
Index created.
Table altered.
****** Creating EMPLOYEES table ....
Table created.
Index created.
Table altered.
Table altered.
Sequence created.
****** Creating JOB_HISTORY table ....
Table created.
Index created.
Table altered.
****** Creating EMP_DETAILS_VIEW view ...
View created.
Commit complete.
Session altered.
****** Populating REGIONS table ....
1 row created.
1 row created.
1 row created.
1 row created.
****** Populating COUNTIRES table ....
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
****** Populating LOCATIONS table ....
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
****** Populating DEPARTMENTS table ....
Table altered.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
****** Populating JOBS table ....
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
****** Populating EMPLOYEES table ....
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
****** Populating JOB_HISTORY table ....
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
Table altered.
Commit complete.
Index created.
Index created.
Index created.
Index created.
Index created.
Index created.
Index created.
Index created.
Index created.
Index created.
Index created.
Commit complete.
Procedure created.
Trigger created.
Trigger altered.
Procedure created.
Trigger created.
Commit complete.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Comment created.
Commit complete.
PL/SQL procedure successfully completed.Cheers
Legatti -
Cannot use Enter Persons Form because Human Resources fully installed
I have recently installed 11.5.10 (using RapidInstall, with the sample Vision database). A problem I encounter is that when I try to enter an employee, an error pops up:
APP-PAY-06041: You cannot use the Enter Person Form because Human Resources is fully installed. Instead, use the Human Resources People Form.
Since I don't need the HR module, how can I disable/uninstall/remove it?
Any help or pointers to any user guides will be appreciated.Hi,
Uninstalling Human Resources is simply not possible.
you can try to trick the system by setting HR back to Shared install. One single update can do that. Do not try this at home.
If that is not enough, you can do a minimal implementation of HR, so that the full install people form works correctly, and so bypassing the shared people form in finance. -
Human Resources Scenarios using Interactive forms
Hi Gurus,
Can you pls send some presentation or link where I can see a sample adobe form for a Human Resources Scenario.
Bye
NaveenHey Naveen,
Check out this link...
[HCM Processes and FormsHCM Processes and Forms|http://help.sap.com/erp2005_ehp_04/helpdata/EN/82/b6b94278560c31e10000000a1550b0/frameset.htm]
This link will give you the steps required to set up an HCM process and form scenario.
Hope this helps...
Cheers,
Kevin -
SharePoint Human Resources Site Template
I need ideas to create a Human Resource Site for our organization. We are not satisfied with our existing one. It will be designed using SharePoint 2010 and be part of an intranet. Any samples, templates will help. Thanks a lot!
MayankHi Mayank,
According to your description, my understanding is that you need a SharePoint Human Resources Site Template for SharePoint 2010.
For your issue, you can have a look at the SharePoint Server 2010 Sites Templates on codeplex:
http://sp2010teamplates.codeplex.com/
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Eric Tao
TechNet Community Support -
What are the sample schemas(like scott,hr) in oracle 12c?
Hi,
I have just downloaded and installed the oracle 12c on my desktop(Hurray!), but i don't see any of the sample schemas like scott and hr to play with. Do we have anything like those schemas in 12c?
Thanks,
sgI have just downloaded and installed the oracle 12c on my desktop(Hurray!), but i don't see any of the sample schemas like scott and hr to play with. Do we have anything like those schemas in 12c?
Yes - but they would be in a PDB if you installed the sample schemas; you won't find them in the CDB.
If, like many people new to 12c, you did a default install for a database named ORCL and then connect to ORCL you are connecting to the CDB; that is, the root container. You won't find any sample schema there.
If you installed the sample schemas then the install process would have created one PDB name PDBORCL (by default) and that PDB would contain the sample schemas.
Then the next thing users typically do is connect as sysdba and do a STARTUP and then find they can't connect to PDBORCL. Surprise! The PDBs are NOT opened by default; you need to open them manually when you startup the DB or create an AFTER STARTUP trigger that opens the ones you want.
Review chapters 17 and 18 of the Database Concepts doc
http://docs.oracle.com/cd/E16655_01/server.121/e17633/cdbovrvw.htm -
Oracle 9i Sample Schema running in client/server mode?
I've got Oracle 9i up on RH7.3 and have successfully executed the sample schema on the Server using the mksample.sql script.
Now the challenge is to run these same (sample schema) SQL scripts across a network using a 9i client. I copied the demo/schema files from the server installation to the client but when I invoke the mksample script the passwords have to include a connect_identifier which, in this environment, causes the subordinate scripts to get confused.
Has anyone else attempted to do this?You did not have to change any of your scripts to put the connect_identifier.
Within SQL*Plus you can use the "SET INSTANCE <connect_identifier>" command to make that Oracle instance
your default for this session. After you do this, all your connect statements will not require a
connect_identifier.
==============================================================
$ sqlplus /nolog
SQL> set instance ORA901
Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
With the Partitioning option
JServer Release 9.0.1.1.1 - Production
SQL> connect scott/tiger
Connected.
SQL>
==============================================================
As you can see, after the SET INSTANCE command, the connect command does not need a connect_identifier. -
Queries on samples schemas (HR, OE, SH ...)
Hi,
I want to measure performance of database using Oracle sample schema. But I don't have many time to create queries which take some time on CPU and so on. Is there any script (or webpage) which contain sample queries on this schemas? I will be appreciative if someone help me with it.
Best.The sample schemas are intended to allow practicing and exercising specific features of the database. The purpose of each schema is described in the 'Oracle® Database Sample Schemas' manual for your database version at http://tahiti.oracle.com. (See 'Master Book list' or 'All books'.)
Many of the examples of `how to use a feature`using these schemas will be found in the documentation (http://tahiti.oracle.com) related to the feature. For example, base queries will be found in the SQL Language Reference manual. Spatial features will be found in the Spatial Users Referrence manual. And so on.
Other than that, many of the samples found at htp://otn.oracle.com > Sample Code assume that the samples are installed.
Oracle university database language courses also assume the schemas are loaded. However, their sample code is not available for obvious reasons.
In all cases the samples are not performance oriented examples, simply because Oracle's cost-based optimizer can not provide consistent performance if size or statistics change. -
Oracle provided sample schema ??
I am new to Oralce
I have just install Oracel 9i on my desktop, but having problems install the sample schema (HR, OR......)
AS I have to manuly install the samle scheme, I followed the instuction given on the oracle website.
I connected Using SYSTEM as SYSDBA, and execute the provided script and given the parameter as below :
@?\DEMO\SCHEMA\HUMAN_RESOURCES\HR_MAIN.SQL
specify password for HR as parameter 1:
Enter value for 1: hr
specify default tablespeace for HR as parameter 2:
Enter value for 2: myspace ( I dont know what should be here , it is where things went worng i think. I got a error here ORA-00959: tablespace 'MYSPACE' does not exist)
specify temporary tablespace for HR as parameter 3:
Enter value for 3: temp
specify password for SYS as parameter 4:
Enter value for 4: sys
specify log path as parameter 5:
Enter value for 5: d:/Oracle_log
After the input, I got mainly the error message :
****** Creating REGIONS table ....
CREATE TABLE regions
ERROR at line 1:
ORA-01950: no privileges on tablespace 'SYSTEM'
I dont understand tablespace in oracle. I had a look in the HR script. It create user HR and then connect as HR then start to creat table. i dont understand why the tablespace is still 'SYSTEM'
Thanks for your helpThis looks like the doc you need:
http://otn.oracle.com/tech/xml/xdk_sample/pdf/xdksample_093001.pdf
Just do a search for the error text, it appears to be a sample that produces a deliberate error.
Cheers
Kevin -
I looking for the sample schemas that should have been installed with 9i DB. I installed 9i Personal on Win 98, but can't find them (HR, OE, PM, etc). They were supposed to have uploaded to $ORACLE_HOME/demo/schema. Demo doesn't exists.
I also tried to install the schemas on 8i according to the instructions and files that came with Oracle 9i JDev tutorial. The tables were not created, just lots of errors.
Any ideas where to look in 9i or how to install them on 8i?
Still, life's good
ThanksDoes your database have Oracle Intermedia installed?
The other thing to check is whether your DBA has revoked execute on those objects from public. A couple of them served as vectors for DoS attacks against the database,
Cheers, APC
Blog : http://radiofreetooting.blogspot.com/ -
hi
i'm getting this error when i'm creating in projects implementation superuser HR foundation - Enter AND maintain
APP-PAY-06041: you cannot use the enter resource form because human resource is fully installed. Instead use the Human resource people form
PLEASE HELP
Thanks
Regards
vijayDid you check metalink -
PERWSEMP When Creating new Employee Using HR Foundation, APP-PAY-06041: You Cannot use the Enter Person Form Because Human Resources is Fully Installed (Doc ID 353323.1) -
Required Help Regarding a report in HR for Human Resource analysis - MIS
Hi Friends,
i have a requirement for MIS report for Human Resource Analysis Report which have to display Head Counts Vs Cost for the employees at Employee Subrgroup and Grade wise....
Kindly suggest me how can go ahead with this...
for the example.... i am posting the format how the report will look like
Human Resource Analysis
Head Counts vs. HR Cost FTM
count cost
Top Management
GM
CGM
Vp
Total
like this for employee subgroupwise the costs and headcounts should display.
Regards,
SreeHariI attached smartform in NACE to LQCB output type but i should also make changes in report program RQCAAP01..can u please let me know what customizations i should do in tht report program to attach the smartform..
Maybe you are looking for
-
There is a default folder for the download of files from the internet ("Descargas" or "Downloads"). But, what can I do if I wish to save the file in another location of the hard disk? Thank you.
-
Dear Experts, I have a JSF 2.0 application and was trying to expose it as remote Portlet. I don't think we have Portal Bridge from Oracle for JSF2.0. What is the alternative? Please provide pointers. I know there are different implementations and it
-
Error in Build Applicatio​n (EXE)
Hi, There is an error is prompt as attached when I was trying to build the exe. Both my Labview 2012 & Database toolkit are evaluation version. I have no idea how to choose the different option as the error message mentioned. Is there any alternative
-
HT3546 my airport will not power on, what are the possible causes?
My Airport just shut off and it will not power on. I unplug it from the wall and pulg it back into the power outlet but it still won't power on. What are the possible causes. Is this system just died out, I have it for about 3 years.
-
LDAP Authentication Listing the users
Hi, Iam new to OBIEE. I have LDAP authentication added to my repository.Please let me know how i can get the list of users in LDAP on to my OBIEE Presentation Catalog and Users so that I can classify them into various groups and add security feature.