Interpret sample schema of sample plan table

Hi guru,
May I know if my following understanding and interpretation on the sample plan table (sampling type is sampling schema) is correct:
Lot Size ---Sample Sze---c1--------d1--------c2 ------ d2------c3-------d3------c4------d4 --------c5---------d5----------c6-----------d6----------c7------------d7
10000----------20--------0----------4--------0---------4-------0---------4------0--------4----------0---------4-----------0------------4------------0-------------0
If lot size is equal or above 10000, the sample size computed by the system will be 20.
The first sample has an acceptance of zero (C1) and rejection of 4 (d1). In another word, if there is 4 or above 4 sample size is fail, it will be rejected. Correct?
Question 1 - what does the zero in C1 means? actually what is the usage of C1, C2, CN means, someone told me it is optional?
Next, if on the first sample, the 4 out of 20 of the sample size are failed, the inspection lot is failed.
Therefore, the system will triggers 2nd sample (i.e. C2, and D2) in which it is similar to C1 and D1 (i.e. 0 for acceptance, 4 for rejection), and if it fail again, the system will trigger the subsequent sample (i.e. C3, and D3) till C7 and D7, correct?
Question 2 - what will the system response if the sample lot kept failing until C6 and D6? Because the last sample (i.e. C7, and D7 are both 0), what will the system do on this?
Thanks
YY

Hi Gajesh,
Thanks so much on your reply, but on the answer 4 which you replied to me, I still have a bit double..
4) Question 2: what if I have 5 sample size, and the actual test result is 2 sample size are pass (which meet C1 value), and 3 sample size are fail (which is smaller than D1 value), I said the whole MIC is pass.. am I correct?
*You said: No, system will propose you to check next sample to check C2 /D2*
Why system propose the next C2/D2? My rational is based on the following statement which you previously confirmed that I am correct:
IF the actual number sample size inspection fall outside the lower & upper limit range (i.e. fail) is Equal to OR Larger than D1, THEN, the whole MIC is rejected.
Thus, my rational is if the above statement is correct, which mean if the failed number of sample size (i.e. 3) is less than d1 (i.e. 4), isn't it clearly pass? Furthermore, out of the 5 sample size, 2 sample sizes are passed (i.e. which is equal to the C1 of 2). Thus, why would the system still propose to check next which is C2/D2? Beside on the very first time, you had replied to me on this topic you saidu2026.
Suppose you have a lot size of 10 having sampling size 5 with C1(acceptance number) 0 and D1(rejection number) 3
You have quantitative MIC with single recording with a specification limit of 10 (lower) to 20 (upper)
If, in actual results, if the 3 of the results is outside the spec limits, the MIC as whole is rejected. If only 2 results are rejected the MIC stands accepted.
The following is the sample plan we talking about...
Lot Size -Sample Size-c1--d1c2---d2--c3---d3--c4--d4 -c5d5c6d6c7--
d7
10--52404---04--0404040--
0
Thanks,
Yong-Yeow

Similar Messages

  • Help - Sampling Scheme

    Hello SAP Gurus,
    I have defined a Dynamic Modification Rule a Sampling Scheme and a Sampling Procedure to use in inspection plan.
    Everything is working fine but the Sample Size is always 0. In Results Recording (QA32) the inspection lot quantity and number os the materials to inspect is correct... but the sample size is 0! The sample size shoud be equal to the number of the materials to inspect, right?
    Heres is a picture of the sampling scheme:
    [http://picasaweb.google.pt/lh/photo/5sVXnGLRTCHgHU4Koionzw?feat=directlink]
    Here is the link for the inspection lot:
    [http://picasaweb.google.pt/lh/photo/8veDwWC-lwE20o0w-qeTEQ?feat=directlink]
    The inspection lot is for 10 UN so, acording to the sampling scheme, the sample is 3 UN.... but the sample field is 0.
    In the results recording is OK, here is an image:
    [http://picasaweb.google.pt/lh/photo/zH-_DjwFlDbw7iXJZXwXEA?feat=directlink]
    Thanks in advance,
    Adelmo Silva
    Edited by: Adelmo Silva on Oct 19, 2009 5:45 PM

    Hello SujitSND,
    The characteristic is mandatory and I have maintained the relation between Sampling Procedure and Dynamic Mod. Rule and still not working...
    I dont undestand what you mean by "Also have you used seviarity & AQL level same in DMR & SP"
    Thanks,

  • Script or direction to add sample schema tables to database

    I created a Database at installation time of oracle 10g exempting the sample schema tables to be added later. Iam ready to add it now and I can not find the way. Please, how?

    Hi srideeq,
    The sample schema you can find in
    ORACLE_HOME/demo/schema
    Cheera,
    Kamalesh JK

  • Can't find sample schemas

    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 :(

  • Sampling scheme: usage indicator dependency

    1.) I have removed the last reference to a sampling scheme X in a sampling procedure
    2.) Table QDSV is not showing any references to scheme X any longer
    3.) Nevertheless QDP2/3 is still showing "Used in procedure" as checked
    Does anyone have an idea why this is the case? Will this flag never go away, even if no references exist any longer?
    Thanks
    Martin

    Hello Sandip,
    can you also tell me from where SAP gets the information that the scheme is still used in old inspection plans/lots? The reference itself over the procedure is not there any longer...so there has to be a different place where this information is still present, right?
    Digging a bit in the ABAP coding, I could only find the place where the indicator is set(MQDSVF10):
    FORM BUCHEN_QDSV_STPRPLAN_VW_KZ.
    * QDPK nachlesen.
      CALL FUNCTION 'QDTA_QDPK_READ'
           EXPORTING  I_STPRPLAN = QDSV-STPRPLAN
           IMPORTING  E_QDPK     = QDPK
           EXCEPTIONS NOT_FOUND  = 1.
    *      Fehlerbehandlung
           IF SY-SUBRC EQ 1.
             MESSAGE E224 WITH QDSV-STPRPLAN.
           ENDIF.
    * Verbuchung des Kennzeichens anstossen, wenn nocht nicht gesetzt.
      IF QDPK-KZVWPKSV IS INITIAL.
        MOVE KREUZ TO QDPK-KZVWPKSV.
        CALL FUNCTION 'QDBU_QDPK_USAGE_IND_POST' IN UPDATE TASK
             EXPORTING I_QDPK = QDPK.
      ENDIF.
    ENDFORM.
    And there is only a place where the usage indicator is deactivated, that is when you copy the sampling scheme in a new one (MQDSPF10).
    --> So I rather wonder if SAP has really planned that the indicator is reset at all. I assume that it is rather a "one time used, indicator is checked for ever".
    Regards
    Martin

  • 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 help

    This 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

  • Oracle 9i Sample Schemas

    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
    Thanks

    Does 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/

  • How to create 9i db without sample schema?

    I have (finally) gotten 9iR2 installed on RH 7.3.
    During installation I created sample database instance TEST.
    I then used dbca to create a second instance JSDB.
    I did not see (but may have missed) dbca questions regarding wether or not to create/load sample database schema.
    How best to create a database without the sample database schema?
    If it can not be done, how best to expunge the sample database schema and all related litter?
    There seems to be tables for SCOTT, HR, OE, SH, PM.
    Thanks
    R.Parr
    Temporal Arts

    To drop SCOTT schema, run the batch file/shell script:
    ORACLE_HOME\BIN\DEMODROP
    To drop HR schema, run SQL script:
    ORACLE_HOME\DEMO\SCHEMA\HUMAN_RESOURCES\HR_DROP.SQL
    There are a number of other sample schema scripts to drop the other schemas installed with Oracle9i. If you can't find them easily, read the Sample Schema Guide on http://tahiti.oracle.com/.
    Alison

  • Missing Type Definitions on the SAmple Schema Script

    Hi Gurus,
    The following is the script taken from Oracle 9i Sample schemas page. Here the scripts for some types ORDSYS.ORDImage, ORDSYS.ORDImageSignature,ORDSYS.ORDVideo,ORDSYS.ORDAudio,ORDSYS.ORDDoc are not given.
    Can you help me in getting those.
    CREATE TABLE online_media
    ( product_id NUMBER(6)
    , product_photo ORDSYS.ORDImage
    , product_photo_signature ORDSYS.ORDImageSignature
    , product_thumbnail ORDSYS.ORDImage
    , product_video ORDSYS.ORDVideo
    , product_audio ORDSYS.ORDAudio
    , product_text CLOB
    , product_testimonials ORDSYS.ORDDoc
    ) ;

    Does 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/

  • Script to create Sample Schemas

    Hi,
    I'd like to create sample schemas in my Oracle 11g DB.
    1) I tried to use the DBCA, but it didn't give me any option to create them for my existing db.
    2) I tried to see the scripts under \demo folder, but HR folder contained hr_code.sql script. No script for creating the tables and data.
    3) I searched the companion CD (in 10g), and couldn't know how to obtain the script from there.
    Any help is appreciated.

    Pavan,
    This script mksample.sql is not in 11g(atleast in my system).
    D:\oracle\product\11.1.0\db_1\demo\schema>dir mk*
    Volume in drive D is VAIO
    Volume Serial Number is 7476-8930
    Directory of D:\oracle\product\11.1.0\db_1\demo\schema
    06/30/2007  10:35 PM            28,262 mkplug.sql
    02/09/2008  05:34 PM             1,775 mk_dir.sql
    02/09/2008  05:34 PM             1,775 mk_dir.sql.ouibak
    08/16/2006  10:10 AM             1,648 mk_dir.sql.sbs
                   4 File(s)         33,460 bytes
                   0 Dir(s)  12,980,768,768 bytes freeI have seen it in 10g but Ahmed is using 11g.
    Cheers
    Aman....

  • Sample Schemas and Their Setup

    Hi,
    When I installed Oracle on my PC, the person guiding
    me along said I should set up the usernames as shown
    in the following table [sorry about the compression]:
    Usernames               LockAccount          Password
    sys                    No               xxxxxxx
    system                    No               xxxxxxx
    dbsnmp                    No               xxxxxxx
    aurora$jis$utility$          No               xxxxxxx
    aurora$orb$authenticated     No               xxxxxxx
    scott                    No               tiger
    ose$http$admin               No               xxxxxxx
    outln                    YES
    wksys                    YES     
    qs_cbadm               YES     
    qs_os                    YES     
    qs_es                    YES     
    sh                    YES     
    pm                    YES     
    oe                    YES     
    hr                    YES     
    qs_ws                    YES     
    qs                    YES     
    qs_adm                    YES     
    qs_cs                    YES     
    qs_cb                    YES     
    rman                    YES     
    olapdba                    YES     
    ctxsys                    YES     
    olapsvr                    YES     
    olapsys                    YES     
    mdsys                    YES     
    ordplugins               YES     
    ordsys                    YES     
    outln                    YES     
    outln                    YES     
    outln                    YES     
    ==========END=OF=DISPLAY=========================
    Whenever I try to login as HR and use the HR schema
    I have the following problem:
    Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
    With the Partitioning option
    JServer Release 9.0.1.1.1 - Production
    SQL> connect hr/hr
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Warning: You are no longer connected to ORACLE.
    =========END=OF=DISPLAY===========================
    Could anyone suggest a solution to this problem ?
    I would like to access all the demos, but I don't
    see the Sample Schema Guide on tahiti.oracle.com,
    as referenced in another question.
    Thank you,
    Robert Freeman

    Justin,
    Thanks for your suggestion I found this advice
    in another thread:
    If you have a newly installed the database you
    should unlock the HR schema and reset its password
    since the password will be expired.
    Login as SYS user
    alter user hr account unlock;
    alter user hr identified by hr;
    Now you should be able to login to hr schema
    When I executed the first alter I got the
    following message:
    SQL> connect sys/password as sysdba
    Connected.
    SQL> alter user hr account unlock;
    alter user hr account unlock
    ERROR at line 1:
    ORA-01918: user 'HR' does not exist
    So maybe I have two issues to resolve ?
    Re-create the HR user and Re-Create the
    HR's schema ?

  • 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

  • Sample Schema Scripts

    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 Bennett

    Hi 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

  • Oracle 11g Rel2 Sample Schemas Missing

    I installed Oracle 11g Release 2 and created a database using DBCA. In one screen there is an option to create sample schema but it was greyed out so I could not select it.
    I searched the dbhome\demo\schema\human_resources directory but there is only one file in it -hr_code.sql(It created triggers in hr schema).
    There is no sql to create hr schema or populate schema tables. I searched the net to download the scripts but no idea where to get them. Can you help me

    josephj1989 wrote:
    I installed Oracle 11g Release 2 and created a database using DBCA. In one screen there is an option to create sample schema but it was greyed out so I could not select it.
    I searched the dbhome\demo\schema\human_resources directory but there is only one file in it -hr_code.sql(It created triggers in hr schema).
    There is no sql to create hr schema or populate schema tables. I searched the net to download the scripts but no idea where to get them. Can you help meHi,
    There are some earlier threads on this topic, see Re: MISSING ORACLE DATAUSER "HR"
    HtH
    Johan

  • Sample schemas required

    hi i am new to oracle. i recently installed oracle 9i on my machine for self learning of pl/sql. Actually the default schema oracle provides has very less data and very few tables. i tried creating my own schema in which i thought having a large amount of data and a good number of table with indexes references and constraints but its been one month and i have not been able to complete even 1 % of the stuff. I just want a sample schema on my machine wiyh good amount of tables and data so that i can practice and sharpen my Pl/sql skills. Can somebody provide me the entire scripts and tell me how to execute those
    Thaks in advance

    Sample schemas are provided in 9i on the database CDs and in 10g and higher on the Companion/Samples download.
    To install, please refer to the 'Sample Schemas' document in the Oracle 10g doc set at http://tahiti.oracle.com - the same procedure should work for your (nearly) obsolete database.

Maybe you are looking for

  • Trying to get a Trigger and Alert to work

    So im trying to get a trigger to work with an alert and the Alert seems to be right and the trigger complies which seems right to me, however the instruction that I have in my book does not produce the same output that I get from my Update. Here is t

  • Error : While Importing the Objects in Quality

    Dear all,        I'm facing some error while transporting the Objects to quality server. The error's like Start of the after-import method RS_ISFS_AFTER_IMPORT for object type(s) ISFS (Activation Mode) Source system RD1100LS does not exist Source sys

  • Windows 81 key issue

    I want to know the key for windows 8.1 pro 9600 which i UPgraded..after which my previous orginal version of windows 8.1 is asking for product key. can u help me stay with the orginal version of windows either with windows 8.1 or windows 8.1 pr0 9600

  • Vendor Price

    How can i get the vendor price as per the document date when we create GR we have used BAPI_GOODSMVT_CREATE Can anyone say me is there any way out Thanks in advance Message was edited by:         Gowthamy Dhayalan

  • WRT350N FTP access to USB storage

    I have my WRT350N setup.  all computers within my LAN can access my usb storage device.   I can not access my usb storage device using a computer outside my LAN. if you log on to 99.225.89.229:8080 it will ask you for user id and pass word to log int