Sample Oracle database Schema and sample training SQL

Hi,
I am running a windows 7, 64 bit machine. I am looking for sample oracle database schema with sample SQL queries and exercises(tutorial). Can you please point me in the right direction where I can download both.
Thanks for your time and help.

sb92075 wrote:
ssk1974 wrote:
Hi,
I am running a windows 7, 64 bit machine. I am looking for sample oracle database schema with sample SQL queries and exercises(tutorial). Can you please point me in the right direction where I can download both.
Thanks for your time and help.
http://www.lmgtfy.com/?q=oracle+sample+schema
LOL!!!!

Similar Messages

  • Difference in select for update of - in Oracle Database 10g and 11g

    Hi, I found out that Oracle Database 10g and 11g treat the following PL/SQL block differently (I am using scott schema for convenience):
    DECLARE
      v_ename bonus.ename%TYPE;
    BEGIN
      SELECT b.ename
        INTO v_ename
        FROM bonus b
        JOIN emp e ON b.ename = e.ename
        JOIN dept d ON d.deptno = e.deptno
       WHERE b.ename = 'Scott'
         FOR UPDATE OF b.ename;
    END;
    /While in 10g (10.2) this code ends successfully (well NO_DATA_FOUND exception is raised but that is expected), in 11g (11.2) it raises exception "column ambiguously defined". And that is definitely not expected. It seems like it does not take into account table alias because I found out that when I change the column in FOR UPDATE OF e.empno (also does not work) to e.mgr (which is unique) it starts working. So is this some error in 11g? Any thoughts?
    Edited by: Libor Nenadál on 29.4.2010 21:46
    It seems that my question was answered here - http://stackoverflow.com/questions/2736426/difference-in-select-for-update-of-in-oracle-database-10g-and-11g

    The behaviour seems like it really is a bug and can be avoided using non-ANSI syntax. (It makes me wonder why Oracle maintains two query languages while dumb me thinks that this is just a preprocessor matter and query engine could be the same).

  • Can't access tables in other Oracle database schemas

    Hi. We got our Oracle database admin to install APEX in our Oracle database. She created a login and schema for my Oracle database user so that I could work with APEX a little. Here's the information on the version of APEX we have installed:
    Database Version Information
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    I've found that my user is only able to access Oracle tables within my own Oracle database schema. Most of our main tables are in 3 other schemas and I'd need access to all tables in all these schemas. Right now whenever I encounter a drop list of values for Schema, only by own schema is available in the list of values.
    Is there something our Admin can do to make these tables in other schemas available to my user account?

    Sharpe,
    This documentation should point you in the right direction. It will show you how to add multiple schemas to a workspace.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21678/adm_mg_wrkspc.htm#CHDBDCCJ
    Cheers,
    Tyson Jouglet

  • New User Database schema and table name

    When i create a new user in Oracle Webcenter Spaces 11g, I am not able to get the name of the database schema and table, where it is stored. Any insight on this will be very helpful.

    WebCenter (and WebCenter spaces) uses an 'identity store' instead of database schema for storing user information - in an 'out of the box' installation, users are maintained through an embedded WebLogic LDAP store.
    See the Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter, p. 34-2.
    At the end of section 34.4.1:
    WebCenter Spaces supports self-registration. When new WebCenter users
    self-register, they create their own login and password and a new user account is
    created in the identity store. See also, Section 34.4, "Allowing Self-Registration".
    user9097357 wrote:
    When i create a new user in Oracle Webcenter Spaces 11g, I am not able to get the name of the database schema and table, where it is stored. Any insight on this will be very helpful.

  • Difference Between Database Schema and Database User Account ??

    First i would like to know what an Oracle Database schema exactly is ?
    And what is it for and also What is it's use ?
    Later the exact "Difference Between Database Schema and Database User Account".
    I googled about it but i'm unable to find out it's The difference,
    Please try to explain in a simple manner........
    Thank you very Much in Advance..........

    user13655582 wrote:
    Greate example. but i would like add one more point..
    a user is a schema and schema is a user. but when this applies to the user that he become a schema, only if he has got some objects. so we can say while creating the user which dosent contain any objects called simple user account but afterwords when he has got an objects then we can say its a schema as the above user has shown you through the exampleIt is just word-play. There is nothing in like a 'status' indicator to say "USER_A is just a user but USER_B has become a schema". Many people use the terms "user" and "schema" interchangeably, and some very good DBAs will insist this is correct. I don't disagree with them even though I usually try to make the distinction.
    In a typical application, all of the objects (tables, procedures, etc) that implement the app will be owned by a "application schema owner" - a user which exists for the sole purpose of owning the schema. Said user will have no privileges at all .. especially not CREATE SESSION. Except for possible maintenance activity no one ever actually connects as this user. User accounts are then given to actual humans who connect with their own accounts. The accounts have the necessary system and object privileges granted to them - via a role. One could also create a special account (let's call it APP_ADMIN) that is used for maintenance and batch operations within the application.

  • Running Oracle database 10g and 11g on same 5 RAC nodes

    Hello Gurus,
    Could any body throw light if I can install and sucessfully run Oracle database 10g and 11g on the same Oracle RAC installation setup.My setup is below
    Number of nodes-5
    OS- windows 2003 or RHEL5
    storage- DELL EMC SAN
    Clusterware- oracle version11g
    File system-Automatic storage management(ASM)
    After I successfully setup clusterware,ASM on the nodes,I would want to install 11g database on all 5 nodes .
    Then Install 10g database on only 3 of the nodes using the same clusterware.
    What are your views on the same.
    Also FYI... as per metalink node 220970.1(RAC: Frequently Asked Questions) one can do such a setup.
    what iam looking for is practical experience if anyone has implemented this in production system,if yes any issues faced and how tough it is to support.
    Thanks,
    Imtiyaz

    You could run an 11g database and 10g database on the same cluster as long as you use Clusterware 11g.
    The administration aspect will drastically change according to the platform you run on. As of now, it appears you don't know whether it will be Linux or Windows.
    It would be practical to support the same database release.

  • Difference Between Oracle Database 10g And Oracle 10g Express Edition

    Can any body Tell me What is The Difference Between Oracle Database 10g And Oracle 10g Express Edition.

    http://www.oracle.com/database/product_editions.html
    This link might help you.

  • Oracle database normalisation and logical design documnetation

    Hi ,
    Am a begginer on DB design , can anyone help me find Oracle database normalisation and logical design documnetation for reference.
    Thanks,
    Swaroop

    Database logical design and normalization are typically DBMS (Database Management System) independent. Meaning that you could do a whole LOGICAL design without regards to the platform in which it will be based. There are many, many resources on the internet if you search for them. if you used terms like "logical database design", or "database normalization" on Google or your search engine of choice I imagine you'll come up with many results.
    When it comes to the actual physical design of the database (as in tablespaces, datafiles, indexes, etc) I would first consult the "Oracle Concepts Guide", and then something like the "Application Developer's Guide." This documentation is all available at:
    http://otn.oracle.com
    Hope this helps!

  • How to automate the Oracle database start and shutdown process

    How we can automate and oracle database start and stop procees with Linux start/shutdown process.
    I want to automatically start the oracle database at the time linux server and shutdown the database on shutdown linux server.

    Hi,
    I can share my scripts:
    1) /home/oracle/start_oracle.sh
    #Script should be ran as Oracle user
    cd /tmp
    export ORACLE_SID=orcl
    export ORACLE_HOME=/oracle/ora9i
    lsnrctl start
    sqlplus -S /nolog <<ENDSQL
    connect / as sysdba
    startup
    exit
    ENDSQL
    emctl start dbconsole
    isqlplusctl start
    NOTE: emctl and isqlplus are optional
    2) /home/oracle/stop_oracle.sh
    #Script should be ran as Oracle user
    cd /tmp
    export ORACLE_SID=orcl
    export ORACLE_HOME=/oracle/ora9i
    isqlplusctl stop
    emctl stop dbconsole
    sqlplus -S /nolog <<ENDSQL
    connect / as sysdba
    shutdown immediate
    exit
    ENDSQL
    lsnrctl stop
    NOTE: emctl and isqlplus are optional
    Then what you need:
    1) K91oracle_stop (put it in the desired run level)
    #!/bin/bash
    # description: Stop Oracle before reboots
    su - oracle -c "/home/oracle/stop_oracle.sh" >> /home/oracle/stoporacle.log
    2) S91oracle_start (put it in the desired run level)
    #!/bin/bash
    # description: Start Oracle after reboots
    su - oracle -c "/home/oracle/start_oracle.sh" >> /home/oracle/startoracle.log
    Bye.

  • Today My c: drive crashed...i had all my oracle database files and others in other resp drives.How to start by DB again as my services are destroyed.?!

    Today My c: drive crashed...i had all my oracle database files and others in other resp drives.How to start by DB again as my services are destroyed.?!
    or how to create a service for the database i had previously ??
    any help
    Aravind.

    AravindanJ wrote:
    Today My c: drive crashed...i had all my oracle database files and others in other resp drives.How to start by DB again as my services are destroyed.?!
    or how to create a service for the database i had previously ??
    any help
    Aravind.
    Where did Oracle software reside before  the failure & now?
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

  • Export oracle database schema without data

    Hi All,
    cany any one tell me how to export oracle database schema without data using exp command not datapump command.

    step 1
    type exp help=y
    step 2
    read the output
    step 3 now run exp ... rows=n
    Life can be so easy when you aren't lazy. You don't waste time asking to be spoon fed by others if you can do something yourself in 2 seconds.
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle Database Firewall and Audit Vault -  alert category in HP ArcSight SIEM

    HI,
      in the new Oracle Database Firewall and Audit Vault 12.1.x there isn't the category "alert" that can be sent to ArcSight SIEM ... there's only for Syslogs
    Do you know why?? In th old version (5.1) you could choose alert category for both formats, syslog and arcSight Siem.
    Thx
    Matteo

    Well,
    In case of someone needs it.
    I found something in Note: 105047
    https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361…

  • Oracle Database 10g and Oracle Client 9i together

    Hi, I've been lost some nights in this problem, in my job I will need migrate my Oracle Database 10g for a new computer, on the other hand, there is a software in this computer wrote in Visual Basic and this running only Oracle 9i Client.
    Is it possible configure my new server for run Oracle Database 10g and Oracle 9i Client together?
    Thanks!
    Emerson

    You can certainly use an Oracle 9i client to connect to an Oracle 10g database. Technically, you may have to apply the 9.2.0.4 patchset to the Oracle client to be completely supported, but that may not be strictly necessary.
    You can also have both a 10g database and a 9i client installed on the same machine in different Oracle Homes. You may have some issues on Windows, however, if you are using software that is not multi-home compliant (i.e. the Microsoft ODBC driver for Oracle) or if you call Oracle command-line utilities (exp, imp, etc) without explicitly setting the PATH first.
    Justin

  • Difference between Oracle Database XE and APEX?

    I searched, but couldn't seem to find if this question had already been answered.
    I just picked up beginning oracle application express by wrox.
    I came to oracle and downloaded Oracle Database XE then went to search for apex.
    Installed Oracle Database XE ..signing is as system your options appear to be administration, object browser, sql, and utilities.
    unlocked the HR sample user account and logged in..it has the same options above, but also application builder.
    So, I guess my question is..
    1. why does HR have application builder, but system does not?
    2. do you need to download and install Apex or is apex already preinstalled using Oracle Database XE?
    3. is Apex the same thing as application builder or are they completely different.
    Thank you for you answers
    Thomas

    Oracle 11g XE is the FREE version of the Oracle database product.. APEX is the development product that LIVES in the Oracle database. So if you download the database, you get a copy of APEX to use...
    System is NOT a usual user in the database, and in fact you should NOT be using it unless you need to change some settings in the database..
    Thank you,
    Tony Miller
    Webster, TX
    While it is true that technology waits for no man; stupidity will always stop to take on new passengers.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • How to create an XML Oracle database schema

    Hello, I would like to generate an XML file that contains the schema of my Oracle database so that I can reference one file for column names and table names. I do not need any data from the tables, just the basic layout: e.g. table names, their respective column names.
    Obviously, I would like the ability to generate this file each time we make changes to our DB, so its generation will be an ongoing process.
    My question is, what is the best tool for this? Or the most widely accepted? Can anyone help with this?

    To get database metadata as XML use Oracle Web RowSet.
    //Import the oracle.jdbc.rowset package classes.
    import oracle.jdbc.rowset.*;
    //Import the RowSetMetaDataImpl class.
    import javax.sql.rowset.RowSetMetaDataImpl;
    //Create a OracleWebRowSet class.
    OracleWebRowSet webRowSet=new OracleWebRowSet();
    /*Set the datasource name to obtain a JDBC connection with the database. The datasource name is configured in the data-sources.xml file. */
    webRowSet.setDataSourceName("jdbc/OracleDataSource");
    //Set the SQL query command for the OracleWebRowSet class object.
    webRowSet.setCommand(selectQuery);
    selectQuery is a SQL command variable which is input from a JSP.
    //Set the username and password to obtain a JDBC connection.
    webRowSet.setUsername("OE");
    webRowSet.setPassword("<password>");
    //Set the read only, fetch size and max rows attributes of the OracleWebRowSet object.
    webRowSet.setReadOnly(false);
    webRowSet.setFetchSize(5);
    webRowSet.setMaxRows(3);
    //Run the SQL command specified in the setCommand() method.
    webRowSet.execute();
    /*A Web RowSet gets created consisting of the data retrieved from the database table with the SQL query.  Generate an XML document from the WebRowSet.*/
    OutputStreamWriter output=new OutputStreamWriter( new
    FileOutputStream(new File("c:/output/output.xml")));
    webRowSet.writeXml(output);

Maybe you are looking for

  • Purchase price variance line item - not to be posted in Parallel currency

    Hi All, Scenario: Transaction currency - SGD Local Currency - INR Parallel Currency 1 (LC2) - Group currency - USD Parallel Currency 2 (LC3) - Global Company currency - INR Import PO - MIGO - MIRO PO is raised in foreign currency. Material master pri

  • Text on top of Pics or Pics behind Text

    Does anyone know how I can have my picture behind my Text in Pages 09. I know the generic way is to print the picture and reinsert the paper back into the printer and let the text print on top of it. This would suck. I have a picture that I have Fade

  • I Photo hung up on slideshow...how to I get back to my regular iphoto page.?

    Help...downloaded 62 photos and somehow they all landed in  a slideshow and now I can not exit  the slideshow and access my regular iphoto page and library

  • I can't play music... I need help

    I can't play music anymore on my I phone i hit the play symbol and it changes to a pause and the scrubbing bar stays at 0:00, all of my other audio works just fine but I really need my music back

  • Does Xserve Raid 3.5 TB supports HD uncompress?

    Does exist any configuration for Xserve Raid 3.5TB 7 drives, that supports HD Uncompress 720p 10 bit video formats? Will I get that only with 14 drives? Can I get that with 8 drives? 4 drives in each controller. Thanks G5   Mac OS X (10.4.6)   Final