Where is HR schema in 10g Database?

Dear all!
When I completed installation of Oracle Database 10g successfully, I found that the HR schema did not exist in Database. I tried to find that by logging in Sys schema to check it one again:
SQL> Select username, account_status From dba_users;
However, I did not find HR schema in my Database. Put the original installation CD in CD-ROM, I tried to check if it was not setup, but I could not.
Why do I find it and how do I setup additionally the HR schema?
Thank a lot!

Thank you all, especially "burleson". According to your guide web site, I found that some script (hr_cre.sql) need to run to create samples schema. However, this is first time I started with DB 10g but I often used Oracle 9i before, so that, I did not find where are these scripts? Are there in Oracle CD-Rom or in somewhere, not in Oracle\OraHome\Admin\Database?
Thank you very much!

Similar Messages

  • Where can i download oracle 10g database express edition

    Hi
    can any one tell me from where i can download oracle 10g database express edition
    I cannot able to find it in oracle.com
    Regards,
    suresh

    You can try following CNET link to get Windows media: http://download.cnet.com/Oracle-Database-10g-Express-Edition/3000-10254_4-75220235.html.

  • Importing 9i schema to 10g database

    Hi,
    We have schema export dump from 9i database and now i want to import into 10g database.
    May i know what is the proper method to do so.
    What all things are required to taken care of.
    I know we can only use "imp" to import.
    Please let me know..
    Regards,
    Milan

    MILAN RATHOD wrote:
    Hi,
    We have schema export dump from 9i database and now i want to import into 10g database.
    May i know what is the proper method to do so.
    What all things are required to taken care of.
    I know we can only use "imp" to import.
    Please let me know..
    Regards,
    MilanIf you'll import only one schema, you could just start importing and then fix the errors (even drop back the schema and re-import).
    Anyway, this document is more than enough:
    http://www.orafaq.com/wiki/Import_Export_FAQ
    Just a suggestion: use BUFFER parameter while importing:
    imp BUFFER=10000000 ....
    Regards
    Gokhan

  • Not able to connect to APPS schema in 10g database after upgradation

    We have upgraded our database from 9.2.0.6 to 10.2.0.1(E-Business suite database).We have upgraded our database using dbua and it was succesful(No invalid objects are there in the databe).Now we are trying to connect using apps username but it is not recognising the username.How do we link the old database schema with new database?

    Hi,
    Could you please elaborate "You should make sure that all referenced in the context files point to the new ORACLE_HOME and that AutoConfig complete successfully".This is covered in the same upgrade document (See "Step 26. Implement and run AutoConfig" for details).
    I think you are referring the context file to xml file which contains parameters like "s_dbdomain". I think mistake lies at this point.Not only this variable, I am referring to any variable which points to the old 9i ORACLE_HOME. But, again this makes no sense if you cannot find the APPS schema in the upgraded database!
    Regards,
    Hussein

  • How to export a user and their schema from one 10g database to another?

    Hi,
    I would like to export a user and their entire schema from one 10g database to another one. How do I do this?
    thx
    adam

    If you want to export a user and the schema owned to the user, and import to the same user in a different database, or a different user in the same database, you can use the exp and imp commands as described in the Utilities manual.
    These commands are very versatile and have a lot of options - well worth learning properly. To give you a simplistic shortcut, see below - I create a user 'test_move', create some objects in the schema, export, create a new user in the database 'new_move' and import.
    oracle@fuzzy:~> sqlplus system/?????
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 11 21:46:54 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create user test_move identified by test_move;
    User created.
    SQL> grant create session, resource to test_move;
    Grant succeeded.
    SQL> connect test_move/test_move
    Connected.
    SQL> create table test (x number);
    Table created.
    SQL> insert into test values (1);
    1 row created.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    oracle@fuzzy:~> exp system/????? file=exp.dmp owner=test_move
    Export: Release 10.2.0.1.0 - Production on Sat Mar 11 21:48:34 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user TEST_MOVE
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user TEST_MOVE
    About to export TEST_MOVE's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export TEST_MOVE's tables via Conventional Path ...
    . . exporting table                           TEST          1 rows exported
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully without warnings.
    oracle@fuzzy:~> sqlplus system/?????
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 11 21:49:23 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create user new_move identified by new_move;
    User created.
    SQL> grant create session, resource to new_move;
    Grant succeeded.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    oracle@fuzzy:~> imp system/????? file=exp.dmp fromuser=test_move touser=new_move
    Import: Release 10.2.0.1.0 - Production on Sat Mar 11 21:50:12 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    . importing TEST_MOVE's objects into NEW_MOVE
    . . importing table                         "TEST"          1 rows imported
    Import terminated successfully without warnings.
    oracle@fuzzy:~>                                                       If moving between databases, remember to set the SID properly before the import. If keeping the same userid, skip the from/to stuff in the import.
    There are many variations on the theme ...
    You can simplify this. You can select tables individually. You can use a parameter file. You can transport all the constraints and data. You can skip the data and only move the definitions. You can get some help (imp/exp help=yes).
    And, if it's all 10g, there is a new and improved facility called expdp/impdp (dp = data pump) which has a lot more capability as well, including direct transfer (no intermediate file) together with suspend/restart. Also documented in the Utilities manual.

  • Where is the Workflow Installation for 10g Database ?

    Hi ,
    Where is the Workflow Installation for 10g Database?
    Thanks!

    http://otn.oracle.com/software/products/workflow/index.html
    Pick your platform.

  • Where i can fing chancges log of Oracle 10g database

    Hi.
    I need changes history of Oracle 10g database. Where i can find this?
    Thanks.

    I think you are asking "how do I set up and look at audits"
    Best to ask in a Database forum. This forum is for discussing problems with Oracle Software Download (and Oracle has several hundred different software)

  • Where can I download the Oracle 10g Database Installer

    where can I download the Oracle 10g Database Installer. I'm unable to find a link over the Oracle site. Please help me out on this one.

    981705 wrote:
    where can I download the Oracle 10g Database Installer. I'm unable to find a link over the Oracle site. Please help me out on this one.As mentioned above, you need to log a SR since 10g is not longer available for download -- https://forums.oracle.com/forums/search.jspa?threadID=&q=10g+AND+Download&objID=f36&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Order Entry Schema for 10G Express Edition

    I cannot find the schemas for the tutorial Order Entry - I did find the 8i version from several years ago but they do not seem to work - Where can I find the SQL script for installing OE schemas for 10G Express Edition
    Thanks

    Thanks - but this document only points to PDF installation instructions - the only physical sql script files I can find for Schema (OE) are for 8i and they do not seem to work - I know that the 10G database and 9i ship with them but I am using XE - I also tried to download the companion disk for 10g (where they say these schemas are located) and could not find the scripts. This has taken so long to figure out.

  • Wrong results after upgrading 10g database to 11.2.0.2.6

    Hi,
    Do anyone know, why the following query results are different?
    Not Working query:
    sql1:
    select col1 from tab1
    where col1 = (select '123' from dual)
    Working query:
    sql2:
    select col1 from tab1
    where col1 = '123';
    Both the sql1 and sql2 are returning same reseults in 10g database , but not in 11g.

    Pl post OS details along with sample outputs and explain plans from the the sql1 statement from the two databases. These MOS Docs may help also
    Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results [ID 1320966.1]
    Wrong Results on 11.2.0.2 with Function-Based Index and OR Expansion [ID 1264550.1]
    Wrong Results/No Rows for Sql Involving Functions in 11.2.0.2. [ID 1380679.1]
    HTH
    Srini

  • Running JAXB2 in a 10g Database

    Hi All,
    We have some java business logic which uses JAXB2. We now would like to be able to call / store this java code inside the database. It's a 10g database, which I understand has the 1.4 JVM, so I've retrotranslated the code (and the JAXB2 dependencies) and created a compatible jar. The loadjava command^1^ completes successfully, however when I try and execute the code which unmarshals the XML, I get the following error: Caused by: java.lang.RuntimeException: Provider com.sun.xml.bind.v2.ContextFactory could not be instantiated: javax.xml.bind.JAXBException: Provider com.sun.xml.bind.v2.ContextFactory not found
    The ContextFactory is definitely in the jar file. Looking through the generated DB trace file I see the following:
    creating : class com/sun/xml/bind/v2/ContextFactory with resolver ((* london) (* PUBLIC) (org/apache/* -) (jp/gr/xml/relax/* -) (com/bea/* -) (javax/management/* -) (com/thoughtworks/xstream/* -) (org/jvnet/* -) (com/sun/xml/fastinfoset/* -) (sun/misc/* -))
    but then, instead of resolving the class:
    skipping : class com/sun/xml/bind/v2/ContextFactory
    Why would the ContextFactory be skipped? Is there any way I can force the loadjava command to resolve it?
    1. The server-side loadJava command I use is: call sys.dbms_java.loadjava( '-force -verbose -resolve /scripts/p3/db_sql/cta23001.jar','((* london) (* PUBLIC) (org/apache/* -) (jp/gr/xml/relax/* -) (com/bea/* -) (javax/management/* -) (com/thoughtworks/xstream/* -) (org/jvnet/* -) (com/sun/xml/fastinfoset/* -) (sun/misc/* -))' );

    Hi:
    You can find Jaxb related classes implemented by Oracle into ${ORACLE_HOME}/lib/xml.jar but not all classes should be installed, please look at Ant task named unpack-jaxb-classes at:
    [http://dbprism.cvs.sourceforge.net/viewvc/dbprism/cms-2.1/tasks/cms.xml?revision=1.19&view=markup]
    this Ant task extract all Jaxb required classes which can be installed into an Oracle 10g/11g database, see the Task pre-install which install this jar into SYS's schema.
    To see how to use Jaxb marshall/unmarshall operation please take a look at the method processRequestAction, inside the code you can see how to instantiate the marshaller and unmarshaller:
    [http://dbprism.cvs.sourceforge.net/viewvc/dbprism/cms-2.1/src/com/prism/cms/action/Controller.java?revision=1.8&view=markup]
    Best regards, Marcelo.

  • Error executing a package on Oracle 10G database

    Hi,
    I've a package on Oracle 10G database which accepts xml string as input,loads it into XMLDOM and does some processing.
    When I execute this package from .Net 2.0 client,I get the following error:
    **Error**
    err ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00216: invalid character 0 (0x0)
    Error at line 1
    **Error**
    But when I execute the same package from .Net client 2.0 on Oracle 9i database, it seems to work fine.The xml which I am sending is well-formed one.
    Where am i going wrong?
    Please help.
    Thanks in advance...!
    Regards,
    Amit

    Check the xml strings passed as input . One of the xmls may be malformed.

  • We are getting ¿ stored into our Oracle 10g database  (Microsoft fault)

    We are getting ¿ stored into our Oracle 10g database that is using WE8ISO8859P1 character set.
    Problem is caused by the following:
    Microsoft released software (in particularly MS Word) before considering any ANSI or ISO standard (although they claimed so).
    At that time of pioneering graphical interface - they were the standard. Since then things changed. Microsoft initially targeted US marked, however very soon they wanted to expanded to Europe. For that they needed to get standardized character set instead of one initially being in use. Microsoft re-mapped character set in newer applications using Windows-1252 character set which is compatible with ISO-8851-1 (we are using in our Java Web applications). That cleared obstacles to forward on European market, where extended characters are necessary (like in French, Dutch, German languages...)
    What happened with the initial character codes before Microsoft agreed with ISO to standardize characters? Well - Nothing.
    So what are the consequences of that?
    If we are using Microsoft Word document in conjunction with one of the oldest character set (universe) the ice-age character mapping is still there. So when we "cut and paste" the content to another application, characters sets are not mapped anymore. Especially French language "is sensitive to this" The Microsoft character set in Word decimally coded 146 ( ' ) is very often used in French.
    Therefore if the text is generated in MS Word using old character mapping (universe) which we do, and using method of "cutting and paste" we are mismatching character set interpreted by other, newer applications.
    Initially in the MS words (apostrophe) ' had code 191; then later after implementing Windows 1252 character set being moved to code 146 in accordance to ISO. Well ISO threat character coded 191 as ¿. So if you are using MS Word universe character set, ' looks like ' but in newer applications or ISO compatible applications it looks like ¿.
    Can anyone provide me with periodically cleanup routines that replace garbled characters entered by Microsoft applications into Oracle database ?
    Thanks
    Brendon

    A simply update should work.
    SQL> CREATE TABLE CHARTESTING(COLUMN1 VARCHAR2(30));
    Table created.
    Elapsed: 00:00:00.01
    SQL>
    SQL> INSERT INTO CHARTESTING (COLUMN1) VALUES (CHR(191)||CHR(146)||DBMS_RANDOM.STRING('A',5));
    1 row created.
    Elapsed: 00:00:00.01
    SQL> COMMIT;
    Commit complete.
    Elapsed: 00:00:00.00
    SQL> SELECT * FROM CHARTESTING;
    COLUMN1
    ┐ÆTeoqw
    Elapsed: 00:00:00.06
    SQL> UPDATE CHARTESTING SET COLUMN1=REPLACE(COLUMN1,CHR(191),'*');
    1 row updated.
    Elapsed: 00:00:00.00
    SQL> SELECT * FROM CHARTESTING;
    COLUMN1
    *ÆTeoqw
    Elapsed: 00:00:00.00
    SQL>After numerous attempts you will have to trust me that the characters are correct, my sqlplus isn't working for displaying the characters.

  • Exporting of files in oracle 10g database

    hey friends,
    I installed Oracle 10g Database server on Windows XP,when i tried to take the backup through "Export to Files".I got this error.
    I have added Administrator in "Login as Batch JOb" and has given administrator along with the password in host credentials.
    I explain the procedure.I Login as Sys as SysOper as Oracle does not allow to take backup as sysdba.
    I created the job and also given the right path for the backup but some how it fails then i check the log and i find the following output.
    Output Log
    Export: Release 10.1.0.2.0 - Production on Fri Mar 4 16:39:23 2005
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username:
    EXP-00004: invalid username or password
    Username: Password:
    EXP-00004: invalid username or password
    Username:
    EXP-00030: Unexpected End-Of-File encountered while reading input
    EXP-00000: Export terminated unsuccessfully
    The output log says i am giving invalid username and password but i don't know where i am giving the invalid username and password.
    Please guide me as I am new to Oracle and want to learn Oracle Administration.
    Thanks & Regards
    Ankush

    Give me output of following on standby server
    SQL>select name from v$datafile;
    SQL>show parameter log_archive_dest

  • Oracle 10g Database conflicts with HTMLDB

    Hai all,
    I have encountered a strange conflict when I am trying to work out with Oracle 10g database and the famous HTML DB.
    It is like this:
    I have a 10g DB installed and an ASP application that works on this 10g instance via "Microsoft ODBC driver for oracle" perfectly.
    Now I have downloaded and installed the 10g Companion CD and installed the HTML DB 1.5 along with the mandatory Apache web server. Good!! I could scrawl through the database using the HTML DB, creating applications, forms, items and etc fancy things without any issues.
    The problem that I found was:
    The ASP based application that used to work initially now is erroring out saying that "TNS could not resolve service name".
    I thought that the Listener might be damaged or the ASP site was damaged or the Microsoft ODBC driver files were damaged and several other vauge guessings.
    I have tested the issue in several ways (reinstalled oracle, the DB, the ASP Applicaton, re-configurin listener in a variety of ways) but every time installing BLINDLY the companion CD too. Nothing seem to work.
    Then I recollected that the same issue I have encountered in the past with the installation of Oracle 8i and Developer 2000, where the TNS listener configured by the former damages the one configured by the later and vice-versa.
    Basing on this past reminiscence, I finally stopped installing Companion CD over the Oracle installation and carried out the DB installation and the ASP based app. And everything worked fine.
    CAN anybody tell me what is going wrong with these two oracle products(Oralce 10g DB and the HTML DB+Apache)?
    WHY always the installation of a CLIENT SW (Developer, HTML DB etc) damages the connection with the database via ODBC drivers?
    Many Thanks in advance.
    Ravi

    Dera Mr. Tyler,
    Thanks for your reply...I have implemented the solution that you have given for the TNS Listener conflict and everything works fine...
    Here I have one more thing thats not working as I thought. do kindly help me out.
    My requirement is to show the list of available storage drives (say C:, d:, e: etc on windows) available on the database server. Let me eloborate my problem well....
    i have a Java App that executes a specific SQL script to create a tablespace, a user and the required db objects that my applicaiton needs.
    if the Java App runs on the same machine where the oracle instance is running, the Java app pops up a list of available drives on the machine, creates a directory for the tablespace datafiles on the drive selected from the above list box, then runs the script which creates the tablespace and the rest of the things.
    But if i run the Java app from another machine on the network, then my BLIND java app is popping up the drives of the local machine but NOT those from the oracle server machine and creates the folder on the local machine but not on the Oracle server and obviously the rest of the phases (tablespace creation itself) are failing as the required folder is not found on the oracle server machine.
    the work arounds that i am thinking are:
    a) use java ->
    get the IP of the oracle server machine ->
    use some java api such as java.net, java.io etc ->
    create the required folder on the server machine instead of the local machihe
    ISSUE: Java network programming is too tough for me(excuse me for this..i am not too good!!)
    b) use some oracle sql or pl/sql api s to do the same
    ISSUE: not found one!!!!
    c) create a java stored procedure/function to get the list of drives of the oracle server and return as a string variable. then call this proc from the Java app once connected to the database....
    ISSUE: i have created the SO-CALLEd java func. no compilation or loading errors. but there is no o/p either. but the same code when i run as a java class is showing the desired o/p. here is the code piece...can you please help me out!!!
    -------Java Stored Function------
    import java.io.*;
    public class HDDLister
         public static String listDrives()
              String rootsList = "Available Roots: ";
              try
                   File[]roots = File.listRoots();
                   for (int i=0;i<roots.length;i++)
                        rootsList += roots.toString();
                        rootsList += "#";
              catch(Exception ex)
                   rootsList = ex.toString();
              return rootsList;
    -------Command to publish the Funciton-------
    CREATE OR REPLACE FUNCTION HDDLISTER
    RETURN VARCHAR2
    IS
    LANGUAGE JAVA
    NAME 'HDDLister.listDrives() return java.lang.String';
    and finally the point of the problem is, once we show the drives available on the server machine to the user and the user selects a drive, how to create a folder on the server machine???
    Thousands of thanks in advance
    Ravi

Maybe you are looking for

  • Mail app not connecting to gmail account

    Hi So I have 2 gmail accounts where our company domain uses gmail for its email service. Mail was working fine on both the accounts till last week. I had configured both the gmail accounts very easily by just selecting Google on the Mail App on my Ma

  • Overprint Text in PDF export

    I am using Freehand MX 11.0.2 on Mac Leopard 10.5.2 In a couple of circumstances I noted that black text (100%K), even when "overprint" is selected at the text's color palette, and the layout exported as PDF (CMYK), but the black text does not overpr

  • Which Metadata option when exporting from Aperture?....

    When Exporting a single Original (never edited) CR2 file from Aperture 3.6 to my Desktop there are 3 Metadata options : 1) - Don't include IPTC 2) - Include IPTC 3) - Create IPTC4XMP Sidecar File As I have no idea what 'IPTC' etc is, which option is

  • Cap4 Aggregator stopped loading AS3 swf's

    Anyone have any idea why the Aggregator will no longer load any swf's created with AS3? AS2 files still work, but 3's just show the loader over & over. TIA!

  • | and keys swapped in VirtualBox on OS X: rebind in HAL, Xorg, ...?

    I'm running Arch in VirtualBox with OS X as host. The keys for | (below escape) and < (right of left shift) has swapped positions. How can I fix this? I tried to find documentation for the HAL config files, but haven't found anything yet.