Where to download oe sample schema?
I downloaded Oracle 10g database express edition (XE). It does not seem to include the oe sample schema, only the hr sample schema. Does anyone know where I can download the scripts to install the oe sample schema? Could not find these anywhere on oracle.com or on google amazingly. Thanks so much.
/home/oracle/app/oracle/product/11.2.0/dbhome_2/inventory/Templates/demo
/home/oracle/app/oracle/product/11.2.0/dbhome_2/inventory/Templates/demo/schema
/home/oracle/app/oracle/product/11.2.0/dbhome_2/inventory/Templates/demo/schema/mk_dir.sql.sbs
/home/oracle/app/oracle/product/11.2.0/dbhome_2/inventory/Templates/demo/schema/order_entry
/home/oracle/app/oracle/product/11.2.0/dbhome_2/inventory/Templates/demo/schema/order_entry/createUser.sql
/home/oracle/app/oracle/product/11.2.0/dbhome_2/inventory/Templates/rdbms/demo
/home/oracle/app/oracle/product/11.2.0/dbhome_2/inventory/Templates/rdbms/demo/aqxml.conf
Similar Messages
-
Hello,
I have 11g installed on my machine and I want to add the HR.OE...etc sample schemas and data from Oracle 9i.
Does anyone know where I can download these schemas as well as the data?
Thanks,
Steve K.http://www.oracle.com/technology/obe/obe1013jdev/common/obeconnection.htm#t1s1
Greetings...
Sim -
Where to download the sample code of Expense Tracker application
Several JSC2 tutorial articles mention a sample application called Expense Tracker. Does anyone know where to download it? The links in the articles are invalid now.
Thanks in advanceSorry for the inconvenience. The sample code is getting updated to work with the latest release of Creator. It will be replaced soon.
-
Where to download scripts for HR sample schema
Hi,
i installed Oracle11g on linux without sample schemas.
now i want to manually install the sample schemas.
and when i checked the folders under "../human_resources"
i am not able to view the scripts to install HR schema.
i tried a lot of google search but i am not able to find and download the scripts needed to create HR objects.
Can someone guide me where i can find scripts that i can download and install all the sample schema objects
Thanks,
Philip.It's part of the Companion install
-
Where is HR Sample Schema Script for APEX 2.2
Just installed APEX 2.2 and am reviewing the 2-day developers guide. In there they give many examples based on an HR sample schema which they say can be downloaded from http://www.oracle.com/technology/products/database/application_express/code/hr_sample_schema.sql
I'm finding this address invalid. Does anyone know the right url for the script or can someone supply it to me?Hi skondolf1,
I don't know where that specific script is now, but you can also get the HR samle schema here: http://www.oracle.com/technology/obe/obe1013jdev/common/files/sample_schema_scripts9i10g.zip
Regards Pete -
Missing Oracle Sample Schemas - How Download complete Files
Dear DBA's
I appreciate if someone could tell me how setup the ORACLE SAMPLE SCHEMAS, because all my demo folders in 10g and 11G
$ORACLE_HOME/demo/schema/hr or oe or any other chema there are fiesl missing,
for instnace looking at the Procedure in doc
http://download.oracle.com/docs/cd/B28359_01/server.111/b28328.pdf
it says to run "hr_main.sql" script in folder $ORACLE_HOME/demo/schema/human_resources
But I can't find any file"hr_main"
then for PM Schema it's supposed to have a file pm_main.sql !!!! I can't find .....
The same for SH (Sales History) they say to run the "sh_main.sql" but i can't find anything like "Main"
Can you please help me to compltely setup the sample schemas ?
TxsI am having the same problem.
I am running XE and the only sample schema that exists there is HR.
OE and SH...are not there
I downloaded companion CD 10 minutes ago from
http://www.oracle.com/technetwork/database/10201winsoft-095341.html
and searched through the whole companion and no
files like :
sh_main.sql
mksample
nothing!
User Steve Callan placed a data pump file on
http://www.dbasupport.com/oracle/ora11g/Installing-Oracle-Database-Sample-Schemas-using-Data-Pump.shtml
but he created it without version parameter, so people who are running data pum from older versions cannot import it.
I made a comment on the article he posted .
user13106173 pointed out a link where you can get OE and HR, but I need SH sample schema as well
So please can somebody direct me to anyplace I can get ALL THE Sample schemas -
Where to find sample schemas?
Hi all,
I need to install the hr sample database. The SQL book that I am reading uses the hr db for the examples. The book claims that the schemas should be in
$OH/demo/schema/human_resources
I just did a full install of 10g and can only find hr_code.sql in that directory. Where do I get the schemas to create the hr database?
TIA,
FernandoIf you did the default install of the DB then the HR schema should already have been installed for you (just that the account is locked by default).
Enter user-name: hr
Enter password:
ERROR:
ORA-28000: the account is lockedJust unlock the account using ALTER USER command and you should be ready to go. -
I'm watching the tutorial videos. The speaker references downloading the "sample files". Where are these on the video page?
Create complex shapes and refine your illustration | Learn Illustrator CC | Adobe TV
-
Hi Guys,
I just installed oracle 11g r2 on my laptop for learning purpose.
Could you please let me know if there is any way to download a sample data base to practice on?
Appreciate your help.
Cheers,
VjHi sunny,
please check the following document:
http://st-curriculum.oracle.com/obe/jdev/obe11jdev/11/common/files/b28328.pdf
follow the steps:
- get the schemas
- you are ready to go.
another idea:
- issue a few: create table tab1 (id number, value number, created_date date); insert into tab1 (id, value) values (1, 50)); and you are in the clouds.
br,
pinela. -
Sample schema and data downloads?
I have installed oracle and I wish to test it with a substantial schema installed, with enough data to simulate a production level database.
I was wondering if online there were any large sample schemas, with large amounts of data (in sql loader .dat files?) that could be downloaded. My search so far has not been successful.
If possible I would like to get a schema with very large number of tables and many thousands of lines of data.First thing: you'd be better generating a dataset to match your particular requirements.
However, If you're thinking about a data warehouse, you could do worse than borrow the Mondrian 'Foodmart' test dataset. That contains 328k rows of data (so pretty small, but not trivial). See http://mondrian.sourceforge.net/.
Alternatively, lots of people start with datasets based on Northwind - the well known Access/SQL Server dataset. There's an article here http://www.oracle.com/technology/pub/articles/gagne_access.html on how to extract the necessary DDL using the mdbtools utilities.
HTH
Regards Nigel -
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/ -
From where to download the The Oracle Data Mining sample programs for DB11g
In the Administrator's Guide to Oracle Data Mining 11g. One of the steps is to install the the Oracle Data Mining sample programs, which, according to the author, is included in the Oracle Database Companion. The author did not specify from where to download neither the sample programs nor the database companion CD/DVD!
I would be grateful if you could provide me with the URL that has the required download.
Regards,You should be able to download ODM DB11g sample programs from the following OTN link:
http://www.oracle.com/technology/software/products/database/oracle11g/111060_win32soft.html
Choose 'Oracle Database 11g Examples (formerly Companion)' -
Where to download Sample App for OBIEE 11.1.1.6
Where to download Sample App for OBIEE 11.1.1.6
Hi,
its no need u can use the same Sample App for OBIEE 11.1.1.5 RPD,catalog it should work.
http://www.oracle.com/technetwork/indexes/samplecode/bi-sample-522115.html
in oracle there is no seprate Sample App for OBIEE 11.1.1.6 code. for more
http://docs.oracle.com/cd/E23943_01/index.htm
Thanks
Deva -
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 :( -
Hi All!
Sample schemas (HR, OE, PM, QS, and SH) scripts are missing from 10g (10.2.0.1.0) on Win XP Pro(32-bit)
I have checked $ORACLE_HOME/demo/schema directory: There is subdirectory for each schema.
The scripts are not there or only some of them scripts are installed.
The list of correct scripts is hear:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14198/scripts.htm#sthref77
Where to get scripts to rebuild sample schemas manually?
Thank youWelcome to the forums !
The scripts should be available in the companion directory of the CD
http://download.oracle.com/docs/cd/B19306_01/server.102/b14198/installation.htm#I4367
HTH
Srini
Maybe you are looking for
-
CREATE MULTIPLE TABLES USING BATCH FILE OR ANYOTHER MODE
Dear Legends, I want to create Multiple table at a single stroke in oracle sql developer or sql*plus using any mode like batch file or sql files... I dont know the exact mode and how to create it please guide me..I want to learn more about this since
-
Want to shedule a report in background with current system date
Dear All, I want to schedule a report which is having date parameters in theĀ selection screen. What i want is that , every time in the schedulling period the report should run in current system date only with a variant. Would it be possible. Thanks
-
Query and retrieval of SAP table data
Hi, Within PI Is it possible to use a select query on an ECC table and retrieve the relevant data. The data will then need to be mapped to the output. Can this be achieved through an RFC call? Thanks
-
Single episode plays with no sound
I have an odd problem going on. I subscribe to The Office. The latest episode downloaded, and will play a picture but no sound. I notified the store, and they let me download it again. Same problem. I do not have this problem with any of my other sub
-
After downloading the lastest update, IOS 6, my iphone will not download apps.
after downloading the lastest update, IOS 6, my iphone will not download apps. help