How to install the sample shema (HR)

Hi,
I'm begining to study the class about the introduction to PL/SQL and I need the shema HR for it. But I lost it during a 'cleaning' of my PC to retrieve some place. So I created a new database named 'HR' and I tried to run the hr_* scripts that I found in .../demo/shema/human_resources/ but I can do anything ! Do you know how I can reinstall the HR schema quickly with the objets ?
Thank you for your help, I'm very frustrated....

You will be able to find that information here too.
Sample Schemas Contents / Search / / PDF
http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96539.pdf
Joel P�rez

Similar Messages

  • How to install the Sample Apps in Hyperion Financial Management 11.1.2.2?

    Hi,
    Could please anybody tell me how to install the Sample Applications in Hyperion Financial Management 11.1.2.2?
    The following is written in the Administration guide:
    If you did not install the sample files, you can obtain them by reinstalling Financial Management
    and selecting the Sample Applications component.
    I cannot find the “Sample Applications component” among components during installation process.
    There are only “Financial Management ADM driver”, “Financial Management Web Application” and “Financial Management: services”.
    Hope this helps,
    Thank you,
    Vadim

    After you install the sample application, all of the application extracts can be found under the below location.
    Oracle_Home\Middleware\EPMSystem11R1\products\FinancialManagement\Sample Apps and Starter Kits\Sample Apps

  • How can I install the sample code in my pc?

    I have installed Oracle 8.17 on my pc, my operating system is Win2000. But now I cannot install the sample code on OTN. the requirement is winNT, is that the problem? I think Win2000 should be okay. Who can give me some advice, thank you in advance!!!

    Do what Ethmoid mentioned:  publish your site to a folder on your hard drive and open the html file with a text or html editor like the free TextWrangler.   That's the only way to view or edit the code created by iWeb when it publishes the website.
    However, there is a website design application, Flux, that can open a published iWeb site and view the code and webpage simultaneously.
    OT

  • How to install oracle 'sample' database?

    hi
    i want to know how to install the oracle sample database.i am using oracle 9i installed in win XP pro.I have already installed an empty database named 'orcl.world' by following the steps given in 'oracle by example' link http://otn.oracle.com/obe/paa/index.html/
    But its empty and i wanted to install the sample database provided by oracle in order to start practising PL/SQL.
    thanks!

    I'm assuming you want to install the sample schemas since you already installed the database. The standard install includes these sample schemas, but if you're sure you don't have them, you can take a look at this link which will walk you through the steps http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96539/installa.htm#4371
    HTH -kk

  • Installing the sample schemas

    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 off

    Hi,
    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

  • How to install the JDI  and what re the prerequisites

    Hi All,
    Anybody tell me ,
    AS iam new to the SAP NetWeaver
    How to install the JDI,
    I have got one document in  sdn . It has given the prerequisite as.
    Complete installation of DI (CMS, DTR, and CBS) on SAP J2EE Engine
    Should i install all the above component?  or any one of the components, if need to be, can u anbody tell me how to install , where i will get the help.
    How i need to setup the JDI.
    We are working on Webdynpro, and VC, some of the portal components development.
    Installing the DTR alone is enough to move forward, or JDI is required to  setup?
    Please repsond me.
    Regards
    Vijay

    Hi Krishna thanks for the reply,
    Our Current  Portal Version is
    NetWeaver 2004s SP 11.
    My question, should we need to install all these following components before we setup the JDI.
    Complete installation of DI (CMS, DTR, and CBS) on SAP J2EE Engine.
    or
    As per your reply , my understanding is , By installing the JDI , i will be getting all the above components.
    BCZ in that document it is gving clearly that, the above components are prerequisites for installing the JDI.
    Can u tell me where i will get that service packs in the service market place.
    Regards
    Vijay

  • How to install the Remote Desktop Services role on a Windows 2012 R2 Server

    Hello,
    I am a bit confused on how to install the RDP role on a 2012 R2 server. I have a two server domain and would like to make the second member server an RDP server to host applications (Word, Excel, a medical software, etc.) where users from their windows
    7 desktop will use the Remote Desktop Connection to connect to the server, create a session and do their work. When installing the role, I am prompted with two options:
    1- Role-based or feature based installation
    2- Remote Desktop services installation
    I see the RDP install option in both cases.
    1- Which one do I use?
    2- What role services do I install? (Connection broker, Gateway, Licensing, Session Host, Virtualization host and Web access). I think I need the first four only.
    3- When installing software after RDP, I use the Change user /install and Change user /execute commands. What happens to the software that is already installed? Can remote
    users use those?
    Any help will be very much appreciated.
    Thank You,
    Victor.

    TP,
    Thank you for your response. I added the RD Licensing thru the Role-based option.
    Also opened the local group policy thru gpedit.msc and added the server name and the licensing mode type to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session
    Host -> Licensing
    Use the specified RD license servers = NameOfMyServer
    Set the Remote Desktop licensing mode = TypeOfMyLicense (Per User in my case)
    Thank you again,
    Victor

  • How to install The Soundblaster Audigy SE in Windows 7 RC?

    :How to install The Soundblaster Audigy SE in Windows 7 RC?Y Two days ago I bought a Soundblaster Audigy SE-retail soundcard. I have a dual boot PC with Windows XP-SP3 and Windows 7 RC. The installation of the soundcard?in Windows XP was easy, no problems, good sound.
    But how to install in Windows 7 RC ?
    I have the installation and applications CD with XP and Vista drivers and I have the driver-download from Creative.com SB24PCDRV LB 0 - 04 - 0090.
    Windows 7 tells me "No device for audio output is installed". Windows automaticly?installed a driver, but that doesn't work. (code 39). The driver download from?creative does not install new drivers and when I try it manually Windows tells me "The best driver is already installed"
    When I uninstall?the driver that Windows installed and try to install the downloaded?creative driver for Windows 7, the driver will not install, and Windows message is something like "?no audio device is installed on this computer"
    What to do ? A computer without sound is nothing...
    Thanks,
    Arie

    >Re: How to install The Soundblaster Audigy SE in Windows 7 RC?% Meocene is 00% on the money. Dan K.'s pack is the best. I have used the pack on four different systems with AUDIGY LS and SE cards that I bought cheaply (all four on Ebay for $40). The package has worked under XP, Vista, and Windows 7 very well.
    I have friends that play Left4Dead and they have been immensely pleased when playing the games in their flats with or without headphones, as compared to their old "onboard RE--t-k" sound.
    The package also works well on a Gateway or HP machine when disabling onboard audio first then installing the Audigy and installing drivers and apps for the first time. Gi've up on using your old CDs, you will only run into a mountain of trouble trying to "Auto-Update" all that with the newest patches.

  • I just bought a new computer and want to load in photoshop from the old one.  I have CS5.  Since CS5 was an upgrade I installed CS4 first, but now I can't figure out how to install the CS5 upgrade.  Any advice?

    How do I transfer photoshop from one computer to another?  I have CS5.  Since CS5 was an upgrade I installed CS4 first, but now I cannot figure out how to install the CS5 upgrade.  Any advice?

    karen2179 wrote:
    If you are able to use adobe products on two computer do I really need to deactivate or uninstall CS4?
    No, but it may help the chances of a successful installation.
    karen2179 wrote:
      Just as an aside - I have been getting messages on here from Adobe Admin saying that CS5 cannot be reinstalled because everything is now in the cloud and that for $350 I can buy CS6 to install on my new computer.  What?  Am I getting spammed on Adobe's site here?
    Where did you see that?

  • How to install the SAPRouter service on a Windows 2003 Server?

    Hi, can someone please either provide me with the instructions or point me to a URL or a SAP note that describes how to install the SAPRouter service on a Windows 2003 32-bit server?
    This is fairly urgent so your assistance here would be much appreciated.
    Many thanks
    Sharon

    I tried this and I get the following error...
    'ntscmgr' is not recognized as an internal or external command, operable program or batch file.
    Any further suggestions?
    S

  • Hi, can anyone please tell me how to install the Nik collection into Adobe Photoshop CC 2014.2.1

    Hi, can anyone please tell me how to install the Nik collection into Adobe Photoshop CC 2014.2.1 ?

    Glad I could help. Thanks for letting me know I did.
    Gene

  • How to install the camera raw plug in?

    how to install the camera raw plug in?

    Hi Andreaid,
    An easy way is to go to Help>Updates in whatever program you have that includes camera raw like Photoshop or Bridge.
    Thanks,
    - Dave

  • How to install the windows7 agent and monitor the same machine

    Hi ,
    I have installed OMS on Oracle Linux 5.7-64 bit machine. Now I am able monitor the OIM which is installed on Linux. I have some of oracle applications (domains) on windows7 machine. I want monitor the same. On em, agent deployment page I am not able to see the windows agents.
    Can you please guide me how to install the agent on windows and monitor the same?
    OEM version: 11.1.0.1
    Thanks in advance
    Regards,
    Kishore Tummeti

    If you just need to install some agents on Windows the best (imho) option is not to use the push option because getting Cygwin to run can take hours (if at all).
    Here you find a good instruction how to install the agent by hand: http://www.peasland.net/?p=122
    Sometimes the –silent mentioned in step 4b needs not to be put as second argument but as last argument.
    Eric

  • How to install the oracle lite mobile server?

    hi,every one!
    I follow the wizard of the oracle lite mobile server,then
    pop the window let me input the "host name""port"and "net server name",I have install oracle 9i,and establish a database named "oradb",establish an server named"oradb",the service can be listened and the port is "1521",but in the installation when i input the up numbers, it
    tells me that "invalid server name",how can i do?
    somebody that do me a favor tell me how to install the oracle 9i lite mobile server,it must be preciated!

    Andy,
    It sounds like you are not properly connecting to the back end Oracle instance when Lite attempts to install the Mobile Server Repository.
    Before attempting a re-install, why don't you try connecting to the same instance using SQL/Plus with the a connect string specifying hostname:1521:SID. If you are not able to connect you need to determine why.
    TNX,
    Phil

  • How to install the same copy of creative suite on the second computer?

    Basically I am using a Macbook Pro and upgraded my hard disk. A
    After I have recovered the data using time machine, I was unable to access my CS6 applications, which all became trial version. So I would like to know how to install the same copy of creative suite on the new drive.

    Transferring does not usually work - you need to install using installation files, the same way you originally installed the program(s).
    Download and Installation Help -
    https://helpx.adobe.com/download-install.html

Maybe you are looking for