Sampling schemas and Procedures
hello guys,
I am trying to understand the following things with an simple example.
what option to use for quantitative (variables ) in sampling schema..I tried using variable by s-method but it is asking for a K-factor which I have no idea about it.
And in sampling schema...if i use fixed sample it ask for a valuation mode and control chart type..
Pls explain the valuation mode and control chart with combination of sampling type..no idea wht to use on what situtation.
As I need this info asap..pls help
Regards,
Akash.
Dear Prakash
please go thru the following link. Then let me know if you have doubts
1) Link: [Valuation mode|Valuation mode of the sampling procedure]
2) Link: [Sampling|Sampling Procedure]
3)Link: [Sampling2|Sampling type scenario - sampling procedure]
4) Link: [K factor|K-Factor in Sampling Proecdure]
5) Link: [sampling detials|help.sap.com/printdocu/core/print46c/en/data/pdf/QMPTBD/QMPTBD.pdf]
Regards
Gajesh
Similar Messages
-
All Oracle Sample Schemas and all Oracle Built-in Packages in XE?
Hi,
I am trying to install Oracle 10g on my home system to improve my knowledge of PL/SQL. Because I'm doing it at home, I have to solve DBA issues I'm somewhat clueless about.
I would like to install Oracle 10g Express Edition and include the built-in packages (DBMS_OUTPUT, UTL_FILE, DBMS_UTILITY, DBMS_JOB, DBMS_JAVA, DBMS_RANDOM, etc.) as well as the Oracle sample schemas (HR, OE, PM, SH, and IX). None of these, except HR, is included in the express edition.
If necessary, I'd like to be able to install these things after installing the express edition. How can I do this?
Thanks,
MikeHi Mike,
checking the documentation is always helpful:
http://www.oracle.com/pls/xe102/homepage
http://download-uk.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25108/xedev_programs.htm#i2432
You can always do a quick search on the documentation homepage, e.g. for utl_file:
http://www.oracle.com/pls/xe102/search?remark=advanced_search&word=utl_file&format=ranked&book=&preference=
There shouldn't be a need to install any packages. They should come preinstalled already.
If not, you can find them here:
C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\ADMIN
Just be very careful before trying to install something into the data dictionary. If you are not experienced, you might mess up your database.
For example, utl_file is installed but invisible to most users, e.g. HR.
Look at this example:
SQL> conn hr/oracle1
Connect durchgef³hrt.
SQL> desc utl_file;
ERROR:
ORA-04043: Objekt "SYS"."UTL_FILE" ist nicht vorhanden
SQL> conn sys@XE as sysdba
Kennwort eingeben:
Connect durchgef³hrt.
SQL> desc utl_file;
PROCEDURE FCLOSE
Argument Name Typ In/Out Defaultwert?
FILE RECORD IN/OUT
ID BINARY_INTEGER IN/OUT
DATATYPE BINARY_INTEGER IN/OUT
BYTE_MODE BOOLEAN IN/OUT
PROCEDURE FCLOSE_ALL
SQL> grant execute on utl_file to HR;
Benutzerzugriff (Grant) wurde erteilt.
SQL> conn hr/oracle1
Connect durchgef³hrt.
SQL> desc utl_file;
PROCEDURE FCLOSE
Argument Name Typ In/Out Defaultwert?
FILE RECORD IN/OUT
ID BINARY_INTEGER IN/OUT
DATATYPE BINARY_INTEGER IN/OUT
BYTE_MODE BOOLEAN IN/OUT
PROCEDURE FCLOSE_ALL
PROCEDURE FCOPY
...So, after granting execute privileges on utl_file to HR, the user HR can now access utl_file. No need to install it.
The default packages are installed in the schema SYS.
Regards,
~Dietmar. -
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 FreemanJustin,
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 -
BAPI for Sampling scheme and Quality Info Record in QM Module.
Hi techies,
I have a two object(Sampling Scheme,Quality info record) for which i need a BAPI for uploading the data.
Please tell me if any one knows.
Richard.Vineeth,
Usually, I wouldn't think the follow-up action would be an issue with system performance. You say 7000 items, but do you mean 7000 UD's? I.e. an inspection lot of 1000 units isn't unusual and that would be 7 inspection lots. You've also now said that the program needs to look across plants for UD rejections and for notifications. That is another level of complexity.
While the UD follow-up action should still be able to handle that, I can't say it won't affect performance. I was going to suggest you have it only run on certain UD codes, but since you now need to reveiw this across plants that might not work.
What happens if my vendor/material is in a skip stage at plant A and Plant B opens a notification agains the vendor? Since there is no UD, the follow-up action wouldn't run and change the DMR at plant A.
If you need to look at a bunch of stuff, instead of the follow-up action, you may need to run a program in batch and have it run once an hour or every 10 minutes. Depending on how you write it, it could be pretty efficient.
Craig -
Dear all,
may i know why obyz is called procedure whereas in MM M/08 is called schema?
What actually is schema?
ThanksHi Ravindra,
In the calculation schemas, the field "Subtotal" must contain the following values in the following lines:
Gross value: 9
Effective value: S
S-Copy values to KOMP-EFFWR (effective value)
so for Net Value in Calculation schema, You have to assign 'S'
If the interim total 'S' is not set, the PO values cannot be updated in the Purchasing Information System and tax Procedure.
Rewards if Helpful
regards
Sanjay L -
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 PMHello 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, -
Hello,
I have 11g installed on my machine and I want to add the HR.OE...etc sample schemas and data from Oracle 9i.
Does anyone know where I can download these schemas as well as the data?
Thanks,
Steve K.http://www.oracle.com/technology/obe/obe1013jdev/common/obeconnection.htm#t1s1
Greetings...
Sim -
Where to download scripts for HR sample schema
Hi,
i installed Oracle11g on linux without sample schemas.
now i want to manually install the sample schemas.
and when i checked the folders under "../human_resources"
i am not able to view the scripts to install HR schema.
i tried a lot of google search but i am not able to find and download the scripts needed to create HR objects.
Can someone guide me where i can find scripts that i can download and install all the sample schema objects
Thanks,
Philip.It's part of the Companion install
-
How to use type, packages, functions, and procedures in another schema ?
I have two target schema in one OWB project, such as A and B. In a mapping of A, I would like to use some types, packages, functions, and procedures from B. I have tried the method of synonym as suggested, but I could not find the metadata of these when importing ... The only type of synonym I can import is the synonym for table. Is there a bug for synonym?
If I cannot use synonym for this issue, is there another way to solve the problem?Now, in some instances you will absolutely need to create the second module as Carsten describes, however it should also be noted that you can reference objects in things like Expressions even if you have not loaded up the metadata. It is only when you need strong binding that it becomes neccessary to import objects. For everything else, as long as the reference will resolve at compile-time then you are good to go.
For example, I have a function in one target schema (S1) and a private synonym to it in another(s2). A mapping in the S2 schema has an expression object that uses the synonym to the function in the expression property for a couple of the output attirbutes. The synonym has not been loaded into metadata - indeed OWB has no knowledge of its existance. But it resolves at compile time so the mapping validates and generates successfully.
Mike -
How to create a schema and assign roles with store procedure or function?
Hi All,
I am creating a webpage that will call oracle store procedure or function to create a schema and add roles. Please let me know if there a method to do that.
Thank youHi CristiBoboc,
Thank you very much for your help. Here is my code to create a user:
create or replace
FUNCTION user_create (user_name IN nvarchar2, user_pw IN nvarchar2)
RETURN number
IS
sql_stmt varchar2(200);
sql_stmt2 varchar2(200);
var_temp_count NUMBER(2);
un varchar2(30) := user_name;
up varchar2(30) := user_pw;
BEGIN
sql_stmt := 'create user :1 identified by :2
default tablespace users
temporary tablespace temp
quota 5m on users';
sql_stmt2 := 'grant developers to :1';
EXECUTE IMMEDIATE sql_stmt USING un,up;
EXECUTE IMMEDIATE sql_stmt2 USING un;
select count(*) into var_temp_count from dba_users where username = UPPER(user_name);
return var_temp_count;
END;
When I run, I get following error:
exec :myvar :=user_create('aaa','12345');
BEGIN :myvar :=user_create('aaa','12345'); END;
ERROR at line 1:
ORA-01935: missing user or role name
ORA-06512: at "CSDBA.USER_CREATE", line 15
ORA-06512: at line 1 -
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!!!! -
Quality Inspection - Sampling procedure, Sampling scheme & Dyn. Mod. rule
Hi Experts,
I am impementing QM process to our group of company. Can you please help me?
How to link Sampling procedure, Sampling scheme & Dynamic modification rule??
It is very helpful for me, if you give a brief on this at the earliest.
reg,
RPVDear Velu,
Please go through the following link..........
http://help.sap.com/erp2005_ehp_04/helpdata/EN/44/fb8928a95e11d2839e0000e829fdb3/frameset.htm
Regards,
VB -
EXPORT SCHEMA 'S ALL TABLES AND PROCEDURES BY EXPDP
how i can export schema's all tables and procedures using expdp.
when i am giving expdp usr/pass schemas=scott directory=export_dir dumpfile=280606.DMP logfile=280606.log tables=*
but it is giving error.
pls help
regards
PrabhakerYou only need to specify parameter USER or TABLES , no need of both
specify USER=SCOTT then it will export all objects in SCOTT -
Query functions and procedures of a user schema
Hai all,
how can i query functions and procedures of user suppose user scott using sqlplus?
i created a function as user scott how can i view my function name?
ThanksHi,
You can Query from dba_objects of user_objects for View,
select owner,object_name,object_type,status from dba_objects where owner='SCOTT';
or
conn scott/pass
select object_name,object_type,status from user_objects;HTH
Maybe you are looking for
-
Lookup DSO in Start Routine and End Routine to update date
Hi Gurus, I need a Start Routine & help, while loading the data from DSO to Info Cube. In the DSO ( /BIC/AZSD_O0300 ) & in the InfoCube I have a common fields are 0DOC_NUMBER ( DOCUMENT NUMBER), 0S_ORD_ITEM ( Sales Document Item Number ), 0SCHED_LINE
-
K8N Neo4 Platinum Freezes playing ripped movie from hard drive???
System freeze's up usually after a half hour to 50 min of playing a ripped movie. Sometimes after freezing up reboots and stops at the raid boot. If you reset usually comes up missing the NTRL... or so. So I power down sys. wait 30 secs. to min. r
-
does anyone else have a problem with the wireless mighty mouse. Mine some times has a problem with the scroll button. Sometimes it will scroll side to side and up BUT not down. i tryed to clean it, i restarted my iMac, i took the batteries out of the
-
Looking for workaround to iPhoto startup message current screen resol...
Hi, I just picked up a Mac Mini to use in my Living Room with Front Row. When I first launched iPhoto to get my library set up, I got a message saying "The current screen resolution is not optimal for iPhoto". I clicked OK and was able to do everythi
-
Where Can i Watch Manny Pacquiao vs Timothy Bradley Live Stream Online
Where Can i Watch Manny Pacquiao vs Timothy Bradley Live Stream Online Manny Pacquiao vs Timothy Bradley Jr. Live Online game, Manny Pacquiao vs Timothy Bradley Jr. Live HD TV now, Manny Pacquiao vs Timothy Bradley Jr. Live Video, Manny Pacquiao vs T