OCA certification (Senior, expert pls help!!)

Hi all, i am currently a java programmer and is keen to get OCA certify.
May i know what is the difference between 10g n 11g?
Also, y do i need to take 2 exams for 11g but onli 1 exam for 10g???
Lastly, is it possible to SELF STUDY for OCA as i do not have any oracle experience. Only have MS sql experience.
Thank You

hi thanks for your valued info.
But why is there only 1 exam needed for 10g and 2 for 11g?Oracle removed the 'SQL for beginners' exam for the 10g series. That [to me at least] proved to be a mistake as too many people were attempting to get certified without even beginner knowledge of the very language that runs the Oracle database platform. They restored that exam. Now there is verification that the OCA candidate at least can spell SQL, SELECT, UPDATE and so on, and might even be able to use the tools provided.
>
Based on your view, do u think i should start all
over from 9i then slowly upgrade or, take 11g directly?
Pls advise:)I think you should think about your future. Make a decision for yourself based on that. Does you future include Oracle9i DB? Is it important for you to verify that you understand Oracle9i DB?
Many people mistakenly think the purpose of the exam is to get a certificate. I disagree ... I think the purpose of certification is to verify - to yourself and to others - that you are aware of, and potentially understand, the material. (If you use brain dumps, or gunners, or other ways of cheating, you are not verifying that awareness or understanding and will eventually be caught - by your colleagues, your boss, or perhaps by yourself when you look at your reflection in the morning mirror.)
If you do not want to verify your knowledge about 9i, don't bother.

Similar Messages

  • QUERY CLARIFICATION RQD :  gurus, experts pls help

    Hai,
    I am facing problem in performance of the query. sample scenario i have created here pls help me to solve
    **VEH_MAIN* TABLE (MASTER TABLE)*
    CREATE TABLE VEH_MAIN
       (     VIP_MOT_IND VARCHAR2(10 BYTE),
         VIP_IND NUMBER(10,0)
    Insert into VEH_MAIN (VIP_MOT_IND,VIP_IND) values ('MOT01',1);
    Insert into VEH_MAIN (VIP_MOT_IND,VIP_IND) values ('MOT02',5);
    Insert into VEH_MAIN (VIP_MOT_IND,VIP_IND) values ('M0T03',1);
    Insert into VEH_MAIN (VIP_MOT_IND,VIP_IND) values ('MOT01',2);
    Insert into VEH_MAIN (VIP_MOT_IND,VIP_IND) values ('MOT02',6);
    Insert into VEH_MAIN (VIP_MOT_IND,VIP_IND) values ('MOT01',3);
    Insert into VEH_MAIN (VIP_MOT_IND,VIP_IND) values ('MOT01',4);
    **VEH_ENGINE_SUB* (table for engine subclass)*
      CREATE TABLE VEH_ENG_SUB
       (     ENG_SUBCLASS VARCHAR2(50 BYTE),
         ENG_MOT_IND VARCHAR2(10 BYTE)
    Insert into VEH_ENG_SUB (ENG_SUBCLASS,ENG_MOT_IND) values ('ENGSUB001','MOT01');
    Insert into VEH_ENG_SUB (ENG_SUBCLASS,ENG_MOT_IND) values ('ENGSUB001','MOT02');
    *VEH_ENG_IND( Detail table for engine subclass)*
      CREATE TABLE VEH_ENG_IND
       (     "ENG_SUBCLASS" VARCHAR2(50 BYTE),
         "ENG_IND" VARCHAR2(10 BYTE)
    Insert into VEH_ENG_IND (ENG_SUBCLASS,ENG_IND) values ('ENGSUB001','1');
    Insert into VEH_ENG_IND (ENG_SUBCLASS,ENG_IND) values ('ENGSUB001','2');
    *VEH_AXIS( Master table for Engine Axis)*
    CREATE TABLE VEH_AXIS
       (     ENG_AXIS VARCHAR2(50 BYTE),
         AXIS_MOT_IND VARCHAR2(10 BYTE)
    Insert into VEH_AXIS (ENG_AXIS,AXIS_MOT_IND) values ('ENGAXIS001','MOT01');
    Insert into VEH_AXIS (ENG_AXIS,AXIS_MOT_IND) values ('ENGAXIS002','MOT02');
    *VEH_AXIS_IND( Details table for engine axis)*
    CREATE TABLE VEH_AXIS_IND
       (     ENG_AXIS VARCHAR2(50 BYTE),
         ENG_IND VARCHAR2(10 BYTE)
    Insert into VEH_AXIS_IND (ENG_AXIS,ENG_IND) values ('ENGAXIS001','1');
    Insert into VEH_AXIS_IND (ENG_AXIS,ENG_IND) values ('ENGAXIS001','2');
    Insert into VEH_AXIS_IND (ENG_AXIS,ENG_IND) values ('ENGAXIS001','3');
    Insert into VEH_AXIS_IND (ENG_AXIS,ENG_IND) values ('ENGAXIS001','4');
    Insert into VEH_AXIS_IND (ENG_AXIS,ENG_IND) values ('ENGAXIS002','5');
    Insert into VEH_AXIS_IND (ENG_AXIS,ENG_IND) values ('ENGAXIS002','6');
    Condition 1
    if i select only ENGINE_SUBCLASS='ENGSUB001' then
    SELECT  vip_mot_ind,vip_ind
    FROM veh_main V,
    veh_eng_sub vsub,
    veh_eng_ind  vind
    WHERE (v.vip_mot_ind= vsub.eng_mot_ind
    and   v.vip_ind=vind.eng_ind
    and    vsub.eng_subclass= vind.eng_subclass
    AND vsub.eng_subclass='ENGSUB001' )output is
    MOT01     1
    MOT01     2
    Condition 2:if i select only the Engine Axis='ENGAXIS002' then the
    SELECT  vip_mot_ind,vip_ind
    FROM veh_main V,
    veh_axis  vaxis,
    veh_axis_ind vaind
    WHERE  v.vip_mot_ind= vaxis.axis_mot_ind
    and   v.vip_ind= vaind.eng_ind
    and   vaind.eng_axis= vaxis.eng_axis
    and   vaxis.eng_axis='ENGAXIS002';MOT02     5
    MOT02     6
    Condition 3:
    BOTH ENGINE AXIS AND ENGINE SUBCLASS
    SELECT  vip_mot_ind,vip_ind
    FROM veh_main V,
    veh_eng_sub vsub,
    veh_eng_ind  vind,
    veh_axis  vaxis,
    veh_axis_ind vaind
    WHERE (v.vip_mot_ind= vsub.eng_mot_ind
    and   v.vip_ind=vind.eng_ind
    and    vsub.eng_subclass= vind.eng_subclass
    AND vsub.eng_subclass='ENGSUB001' )
    AND  ( v.vip_mot_ind= vaxis.axis_mot_ind
    and   v.vip_ind= vaind.eng_ind
    and   vaind.eng_axis= vaxis.eng_axis
    and   vaxis.eng_axis='ENGAXIS002');Null values returned. this is correct.
    But the query PERFORMANCE fails in OR CONDITON as below
    Condition 4;
    SELECT  vip_mot_ind,vip_ind
    FROM veh_main V,
    veh_eng_sub vsub,
    veh_eng_ind  vind,
    veh_axis  vaxis,
    veh_axis_ind vaind
    WHERE (v.vip_mot_ind= vsub.eng_mot_ind
    and   v.vip_ind=vind.eng_ind
    and    vsub.eng_subclass= vind.eng_subclass
    AND vsub.eng_subclass='ENGSUB001' )
    OR  ( v.vip_mot_ind= vaxis.axis_mot_ind
    and   v.vip_ind= vaind.eng_ind
    and   vaind.eng_axis= vaxis.eng_axis
    and   vaxis.eng_axis='ENGAXIS002');output
    MOT02     5
    MOT02     5
    MOT02     5
    MOT02     5
    MOT02     6
    MOT02     6
    MOT02     6
    MOT02     6
    MOT01     1
    MOT01     1
    MOT01     1
    MOT01     1
    MOT01     1
    MOT01     1
    MOT01     1
    MOT01     1
    MOT01     1
    MOT01     1
    MOT01     1
    MOT01     1
    MOT01     2
    MOT01     2
    MOT01     2
    MOT01     2
    MOT01     2
    MOT01     2
    MOT01     2
    MOT01     2
    MOT01     2
    MOT01     2
    MOT01     2
    MOT01     2
    This is sample example. when i implement in huge table with partition this scennario takes much time even 2 hours to run.
    i want the output must be as below if i use OR condition like condition 4
    MOT01     1
    MOT01     2
    MOT02     5
    MOT02     6
    Gurus and experts pls help me to solve this problem. Dont give any suggestion like
    SELECT  vip_mot_ind,vip_ind
    FROM veh_main V,
    veh_axis  vaxis,
    veh_axis_ind vaind
    WHERE  v.vip_mot_ind= vaxis.axis_mot_ind
    and   v.vip_ind= vaind.eng_ind
    and   vaind.eng_axis= vaxis.eng_axis
    and   vaxis.eng_axis='ENGAXIS002'
    union
    SELECT  vip_mot_ind,vip_ind
    FROM veh_main V,
    veh_eng_sub vsub,
    veh_eng_ind  vind
    WHERE (v.vip_mot_ind= vsub.eng_mot_ind
    and   v.vip_ind=vind.eng_ind
    and    vsub.eng_subclass= vind.eng_subclass
    AND vsub.eng_subclass='ENGSUB001' )
    }this will give correct result...
    MOT01     1
    MOT01     2
    MOT02     5
    MOT02     6
    but the problem is we cannot implement this in query. because query get framed at runtime there will be so many implement has to be done. other than UNION pls give me more suggesion
    waiting..
    S
    Edited by: A Beginner on Sep 11, 2010 12:51 AM

    create a view v1 with all the joins
    select * from v1 where eng_subclass='ENGSUB001'
    union
    select * from v1 where eng_axis='ENGAXIS002'
    If you really do not like the direct access with union, try this
    select * from v1
    where vsub_PK in (select vsub_PK from v1 where eng_subclass='ENGSUB001' )
    OR vsub_PK in (select vsub_PK from v1 where eng_axis='ENGAXIS002')
    --vsub_PK is the primary key of table vsub                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Any java experts pls help me in converting attribute to XML formats

    Pls help me oh my god i am a newbie here and i am given this project.
    I had just written a XML doc. which looks like this
    <ConsumerTransfer>
    <TransactionId>
    123:123
    </TransactionId>
    <Billingoption>
    cash
    </Billingoption>
    </ConsumerTransfer>
    I need to make this to attributes like
    private String TransactionId()
    private String BillingOption()
    and so on.....
    I need to convert this attributes to XML format
    can any show me an example or the source codes for this
    Really, I appreciate it.
    JimmyKnot

    For such node level operations I think that DOM would be a good idea. So here you go. Look for some nice tutorial for DOM and you got it.
    salut

  • Hi experts pls help me with this materialized view refresh time!!!

    Hi Expeerts ,
    Please clarify my doubt about this materialized view code
    [\n]
    CREATE MATERIALIZED VIEW SCHEMANAME.products_mv
    REFRESH WITH ROWID
    AS SELECT * from VIEW_TABLE@DATAOPPB;
    [n]
    Here i am creating a materialized view named products_mv of the view_table present in the remote server.Can anyone tell me when will my table product_mv will get refreshed if i follow this code.As what i read from the books is that the refresh period is implicit and is carried out by the database implicitly.so can u tell me suppose i insert 2 new records into my view_table when will this record get updated into my product_mv table.
    I cant use primary key approach so this is the approach i am following .Kindly help me in understanding when will refresh of records occur in the materialized view product_mv...Pls help
    regards
    debashis

    Hi Justin ,
    Yes, my database can reasonably schedule other jobs too .Its not an issue.
    Actually what i meant "fine in all aspects" is that will the matrerialized view will get refreshed w.r.t the documetum_v table present in my remote server.This is all i need to refresh my materialized view .
    I queries the DBA_JOBS table .I could see the following result i have pasted below:-
    [\n]
    NLS_ENV
    MISC_ENV INSTANCE
    dbms_refresh.refresh('"WORKFLOW"."PRODUCTS_MV2"');
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    [n]
    here WORKFLOW"."PRODUCTS_MV2 is the materialized view i have created.So can u tell me that whether we can predict our refresh part is functioning fine from this data.If so how?
    Actually i am asking u in details as i dont have much exposure to materialized view .I am using it for the very first time.
    Regds
    debashis

  • URGENT, EXPERTS PLS HELP!!

    I would like to know answer to following question:
    "Is java.lang.Object" overused??? Pls reply immediately coz I doing my final year project at ivy league university and I need to hand in my assignment in next 2 hours!

    "Is java.lang.Object" overused??? Pls reply
    immediately coz I doing my final year project at ivy
    league university and I need to hand in my assignment
    in next 2 hours!I love the story this implies. This issue is critical to a final year project? A final year project? Due in September?
    How could it be relevant? I mean, if the final year project is an argument about the overuse of a particular idiom, then presumably the project is in the OP's area of expertise. So why is he asking about it here, now?
    And if it's not his area of expertise... then he'd be expected to do some research, such as interviews. He'd be expected to do some research somewhat earlier than two hours before the project is due.
    And of course the coup de grace, informing us that it's in an ivy league school. Those of us who weren't so fortunate to attend one, are of course obligated to help out those who do.
    He must go to Yale.
    Otherwise...a marvelous troll, sir!

  • Tree creation algorithm needed. Experts pls help

    hi,
    I'm writing a program that read data from database to create a Tree.
    The database table:
    DATA          PREDATA          POSTDATA
    1 4 5
    2 6 7
    3 1 2
    4 8 9
    If the DATA has a PREDATA, it will be inserted into the left node otherwise null and POSTDATA will be inserted into right node. For example if I pass in 3 the Tree should look like the following:
    3
    1 2
    4 5 6 7
    8 9 null null null
    Thanks

    This is a fairly straighforward problem but I see two possible problems.
    1) There could be more than one root. Any row with identifier that is never used as pre or post is a root.
    2) If a row identifier is used more than once as pre or post then one no longer has a simple binary tree.
    Dealing with 1) is easy - just have a set of roots. Dealing with 2) is not so easy.
    My solution follows. It deals with 1 but not 2.
    import java.util.*;
    public class Test20040622
        static String[][] testData =
            {"1","4","5"},
            {"2","6","7"},
            {"3","1","2"},
            {"4","8","9"},
        static class TreeElement
            TreeElement(String value, Object pre, Object post)
                this.value = value;
                this.pre = pre;
                this.post = post;
            public String toString()
                return value;
            String value;
            Object pre;
            Object post;
        private Set treeRoots;
        public Test20040622()
            HashMap map = new HashMap();
            // Build a map pointing from id to TreeElement
            for (int rowIndex = 0; rowIndex < testData.length; rowIndex++)
                String[] row = testData[rowIndex];
                map.put(row[0], new TreeElement(row[0], row[1], row[2]));
            // The set of keys to the TreeElements
            treeRoots = new HashSet(map.keySet());
            // Go through each of the elements replacing the
            // pre and post String with the corresponding TreeElement
            for (Iterator it = map.values().iterator(); it.hasNext();)
                TreeElement treeElement = (TreeElement)it.next();
                if (treeElement.pre instanceof String)
                    treeRoots.remove(treeElement.pre);
                    Object pre = map.get(treeElement.pre);
                    if (pre != null)
                        treeElement.pre = pre;
                if (treeElement.post instanceof String)
                    treeRoots.remove(treeElement.post);
                    Object post = map.get(treeElement.post);
                    if (post != null)
                        treeElement.post = post;
            // Convert the tree root Strings to TreeElements
            HashSet roots = new HashSet();
            for (Iterator it = treeRoots.iterator(); it.hasNext();)
                roots.add(map.get(it.next()));
            treeRoots = roots;
        public void print()
            for (Iterator it = treeRoots.iterator(); it.hasNext();)
                printOne(it.next(), 0);
        private void printOne(Object leaf, int level)
            if (leaf instanceof TreeElement)
                printOne( ((TreeElement)leaf).pre, level+1);
            for (int i = 0; i < level; i++)
                System.out.print("   ");
            System.out.println(leaf);
            if (leaf instanceof TreeElement)
                printOne(((TreeElement)leaf).post, level+1);
        public static void main(String[] args)
            new Test20040622().print();
    }

  • Expert pls help: Sun IDM with ldap active sync

    Hi all,
    Currently i am configuring Sun IDM 6.0 SP1 to active sync with Sun directory server. I have enabled Retro Change Log but yet i cant find my changeNumber in directory server. Could anyone show me a way (search?) to get what changeNumber directory server currently running?

    Check the account used by IDM to access DS can search cn=changelog branch. If he is not Directory Manager, you probably need to set an ACI on that branch.
    HTH

  • Ordering according comparing - SQL Experts pls help

    Hi All,
    I want to measure the nearest points according to percentage between these points and order it.
    by another way, i want to show the relation between points according to percentage value.
    drop table temp_value;
    create table temp_value(id number(10),location varchar2(20), percentage number(9));
    insert into temp_value values  (1,'LOC 1,2',30);
    insert into  temp_value values (2,'LOC 1,3',0);
    insert into  temp_value values (3,'LOC 1,4',0);
    insert into  temp_value values (4,'LOC 1,5',0);
    insert into  temp_value values (5,'LOC 1,6',50);
    insert into  temp_value values (6,'LOC 2,3',0);
    insert into  temp_value  values(7,'LOC 2,4',0);
    insert into  temp_value values (9,'LOC 2,5',0);
    insert into  temp_value values (10,'LOC 2,6',10);
    insert into  temp_value values (11,'LOC 3,4',90);
    insert into  temp_value values (12,'LOC 3,5',80);
    insert into  temp_value values (13,'LOC 4,5',0);
    insert into  temp_value values (14,'LOC 4,6',0);
    insert into  temp_value values (15,'LOC 5,6',0); i want the output like this, the ordering of the point like this
    4
    3
    5
    6
    1
    2 or like this
      6
    1
    2
    4
    3
    5 if you ask me why this ordering i will say that
    4    [90 percent between point 3,4 that mean can be 3,4 or 4,3]
    3
    5    [80 percent between 3,5 that mean can be 5 after 3,4]
    6    [50 percent between 1,6 that mean can be 1,6 or 6,1 ]
    1
    2    [ 30 percent between 1,2 that mean can be 1,2 or 2,1] regards
    Edited by: Ayham on Oct 6, 2012 10:18 AM
    Edited by: Ayham on Oct 6, 2012 10:43 AM
    Edited by: Ayham on Oct 6, 2012 8:04 PM

    really i am happy to see you reply but the results is not correct
    SQL> select A1.loc as Location, A1.rn as percentage, a2.rw as group_number from
    asd a1,
      2                     (Select rn, row_number() over(order by rn desc) rw
      3                     from asd
      4                     group by rn) a2
      5  where a1.rn = a2.rn;
    LOCATION             PERCENTAGE GROUP_NUMBER
    4                            90            1
    3                            90            1
    5                            80            2
    3                            80            2
    6                            50            3
    1                            50            3
    2                            30            4
    1                            30            4
    6                            10            5
    2                            10            5
    6                             0            6
    LOCATION             PERCENTAGE GROUP_NUMBER
    6                             0            6
    5                             0            6
    5                             0            6
    5                             0            6
    5                             0            6
    4                             0            6
    4                             0            6
    4                             0            6
    4                             0            6
    3                             0            6
    3                             0            6
    LOCATION             PERCENTAGE GROUP_NUMBER
    2                             0            6
    2                             0            6
    2                             0            6
    1                             0            6
    1                             0            6
    1                             0            6
    28 rows selected.
    SQL>it should be like this
    LOC          Group
    3                    1
    4                    1
    5                    1
    1                    2
    6                    2
    2                    2Edited by: Ayham on Oct 6, 2012 1:11 AM
    Edited by: Ayham on Oct 6, 2012 1:11 AM

  • OCA certification after sql expert exam

    Dear all
    I have passed sql expert Exam in oracle 10g this week,now i want to go for OCA. should i take 1z0-042 exam? or i have one more query in my mind that i have qualified sql expert in oracle 10g ..can i switch over to oracle 11g and clear the paper at the same level required in OCA certification path in oracle 10g as sql expert exam code 1z0-047 is same in both 10g and 11g.please tell me the best book and material
    Thanks

    878927 wrote:
    Dear all
    I have passed sql expert Exam in oracle 10g this week,now i want to go for OCA. should i take 1z0-042 exam? or i have one more query in my mind that i have qualified sql expert in oracle 10g ..can i switch over to oracle 11g and clear the paper at the same level required in OCA certification path in oracle 10g as sql expert exam code 1z0-047 is same in both 10g and 11g.please tell me the best book and material
    ThanksIn terms of certification pre-reqs for DBA and PL/SQL OCA's you have an 1z0-147 which is one of the certification exams that satisfy that requirement.
    Afer passing 1z0-047 you need to consider whether you should take a developer track or DBA track
    From your posts you seem to consider 10g DBA OCA .... 11g DBA OCA would be better but if going down the DBA route your eventual goal should be DBA OCP ..... and that requires mandatory training and your may need to factor that in ... sometimes people may find workforce 10g DBA training is the more accessable to themselves.
    As for the books, both the Sybex and Oracle Press exam focused books have their advantages and disadvantages and faults. Oracle Documentation remains the authorative source.
    Visit and browse http://certification.oracle.com

  • User exit theory and practical knowledge (Pls help experts)

    Hi Experts,
    Kindly help me to know about user exit.
    Thanks in advance
    Will reward  points.

    Hi,
    User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a functionmodule. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.
    The naming standard of function modules for functionmodule exits is: 
    EXIT_<program name><3 digit suffix> 
    The call to a functionmodule exit is implemented as:
    CALL CUSTOMER.-FUNCTION <3 digit suffix>
    Example:
    The program for transaction VA01 Create salesorder is SAPMV45A
    If you search for CALL CUSTOMER-FUNCTION i program
    SAPMV45A you will find ( Among other user exits):
    CALL CUSTOMER-FUNCTION '003'
      exporting
        xvbak   = vbak
        xvbuk   = vbuk
        xkomk   = tkomk
      importing
        lvf_subrc = lvf_subrc
      tables
        xvbfa = xvbfa
        xvbap = xvbap
        xvbup = xvbup.
    The exit calls function module EXIT_SAPMV45A_003
    2. How to find user exits?
    Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT
    If you know the Exit name, go to transaction CMOD.
    Choose menu Utillities->SAP Enhancements. Enter the exit name and press enter.
    You will now come to a screen that shows the function module exits for the exit.
    3. Using Project management of SAP Enhancements, we want to create a project to enahance trasnaction VA01 .
    - Go to transaction CMOD
    - Create a project called ZVA01
    - Choose the Enhancement assign radio button and press the Change button
    In the first column enter V45A0002 Predefine sold-to party in sales document. 
    Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed
    Press Save
    Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.
    Now the function module is displayed. Double click on include ZXVVAU04 in the function module
    Insert the following code into the include: E_KUNNR = '2155'.
    Activate the include program. Go back to CMOD and activate the project. 
    Goto transaction VA01 and craete a salesorder. 
    Note that Sold-to-party now automatically is "2155"
    Regards,
    M.K

  • I would like to write OCA certification

    Hi,
    Iam planning to write oracle 10g OCA certification. Please provide practice guide to prepare for certification.
    Please help.

    Anil,
    You must choose a path : http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=141
    Oracle issues certifications in varied products : Database Products , PeopleSoft , E-Business Suite , WebLogic etc ( also including erstwhile Sun certifications ...)
    Choose a Product and specify here . You will probably get more assistance .
    All the Best
    Edited by: Arul on Oct 26, 2011 8:17 PM

  • Help me out  to resolve a conditional problem----pls help

    Hi Experts ,
    I have the requirement in which if the apinumber is greater than or equal to 10 then only the rows should get inserted into the well_header_table from products_mv table.I need to use only merge concept and nothing else.
    I am making use of the merge concept here .I am checking for the 10 digit condition during the updation part but same will be inserted into the well header table.This shouldnt happen .Can any one suggest me how can i filter out the insertion part so that it only inserts the rows which has api_number greater than 10 digits.I have marked my 10 digit condition that checks for the update part in bold form.
    Pls help me out in resolving this issue .
    regards
    debashis
    [\n]
    CREATE or REPLACE PROCEDURE NAG.MERGE AS
    BEGIN
    merge into NAG.Well_Header_Table
    using nag.products_mv
    on (SUBSTR(nag.products_mv.API_NUM,0,10) = SUBSTR(NAG.Well_Header_Table.API_NUMBER,0,10) )
    WHEN MATCHED THEN UPDATE SET
    NAG.Well_Header_Table.WELL_NAME = nags.products_mv.WELL_NAME where nag.products_mv.API_NUM >= 999999999
    WHEN NOT MATCHED THEN INSERT (NAG.Well_Header_Table.API_NUMBER,NAG.Well_Header_Table.WELL_NAME,NAG.Well_Header_Table.SECTION,NAG.Well_Header_Table.TOWNSHIP,NAG.Well_Header_Table.RANGE,NAG.Well_Header_Table.WELL_METER_NUMBER,NAG.Well_Header_Table.COUNTY_NAME,NAG.Well_Header_Table.OPERATOR_NAME,NAG.Well_Header_Table.PRODUCTION_FORMATION,NAG.Well_Header_Table.STATE_NAME,NAG.Well_Header_Table.FIELD_NAME,NAG.Well_Header_Table.WELL_FLAC_NUMBER,NAG.Well_Header_Table.WELL_LEASE_FLAC,NAG.Well_Header_Table.WELL_TYPE,NAG.Well_Header_Table.WELLBORE_PROFILE,NAG.Well_Header_Table.STATUS)
    values (nag.products_mv.API_NUM,upper(nag.products_mv.WELL_NAME),nag.products_mv.SECTION,nag.products_mv.TOWNSHIP,nag.products_mv.RANGE,nag.products_mv.METER_NUMBER,upper(nag.products_mv.COUNTY_NAME),upper(nag.products_mv.OPERATOR),upper(nag.products_mv.PROD_ZONE),upper(nag.products_mv.STATE_NAME),upper(nag.products_mv.FIELD),nag.products_mv.WELL_FLAC_HZ,nag.products_mv.LEASE_FLAC,upper(nag.products_mv.WELL_TYPE),upper(nag.products_mv.WELLBORE_PROFILE),null);
    END;
    [n]
    regards
    Debashis

    Try those selects below and look at your on condition
    select substr('123456789',1,10) from dual
    select 123456789 from dual where 123456789 > 999999999
    -- perhaps
    on (nag.products_mv.API_NUM = NAG.Well_Header_Table.API_NUMBER and nag.products_mv.API_NUM > 999999999)Regards
    Etbin

  • OCA certification in Oracle 10g

    Hi ,
    I would like to take OCA certification in Oracle 10g.I am very much new to this.
    please tell me all the details about this including :
    1)Names of exams I have to take one by one and how many exams .
    2)Where do i get good Course syllabus/Material.
    3)When and Where the examination is conducted.
    Thanks in advance.

    user3900497 wrote:
    Hi ,
    I would like to take OCA certification in Oracle 10g.I am very much new to this.
    please tell me all the details about this including :
    1)Names of exams I have to take one by one and how many exams .
    2)Where do i get good Course syllabus/Material.
    3)When and Where the examination is conducted.
    Thanks in advance.- I assume you mean the 10g DBA OCA. You eed one of he SQL exams and 1z0-042 for this.
    - Read forum annoucement posts and FAQs
    - Visit [http://www.oracle.com/education/certification]
    - Visit [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=151] and drill down from there.
    ---- The exam course page also gives recomended oracle training.
    ---- See [http://blogs.oracle.com/certification/2009/05/the_route_you_choose.html]
    - [http://www.pearsonvue.com/Oracle/locate/]
    You should also evaluate why you are chooses 10g DBA OCA rather than 11g DBA OCA. There can be good reasons for this.
    Please note that if you continue with the next DBA certiifcation on that route (10g DBA OCP ) you will need to have an approved attended a hands on course (for that certification) from an approved institution (Oracle University is the safest bet).

  • Oracle 11g OCA certification

    I am newbie .I would like to know a good book for Oracle 11g OCA certification ,1Z0-051 and 1Z0-052(with lesser number of mistakes).Appreciate a response.

    I can tell you from personal experience that it is extraordinarily difficult to write a technical book with zero defects. Spell-checkers and grammar checkers produce huge numbers of false positives when looking for standard (i.e. non technical) errors. Technical errors are easy to introduce -- forget to add a 'Not' in a sentence, or something similar -- and hard to detect afterward. When I read through my study guides looking for errors, I tend to see what I meant to write.
    That said, such defects are normally a tiny fraction of the information contained within certification manuals. A couple of reviews on the Oracle Press 1Z0-052 book written by John Watson mention a couple of errors and then imply the book is filled with more. I've read the book and it is very informative. It contains hundreds of pieces of information and contains about ten errors -- all mentioned in the errata on the McGraw Hill site. The books is good preparation for the text and for learning the basics of being an Oracle DBA.
    As Aman indicated, using more than one source is a good way to help to detect inaccuracies. I believe in always using multiple sources and the documentation is generally a good option for that.

  • Download data to Excel- very urgent pls help

    Hi  Experts
    Following is my coding. i need to download and save the it_material table as Excel file.
    pls help me out
    REPORT zvio1001 LINE-SIZE 190
               LINE-COUNT 55
               MESSAGE-ID zz
               NO STANDARD PAGE HEADING.
    TABLES: mara,marce,makt,marc,mvke,zmpkg,t005t,cdhdr.
    DATA : BEGIN OF it_mara OCCURS 0,
             mandt LIKE mara-mandt,          "Client
             matnr LIKE mara-matnr,
             meins LIKE mara-meins,
             laeda LIKE mara-laeda,
             aenam LIKE mara-aenam,
           END OF it_mara.
    DATA : BEGIN OF it_marc OCCURS 0,
           matnr LIKE marc-matnr,
           werks LIKE marc-werks,
           END OF it_marc.
    DATA : BEGIN OF it_makt OCCURS 0,
           matnr LIKE makt-matnr,
           maktx LIKE makt-maktx,
           END OF it_makt.
    DATA : BEGIN OF it_zmpkg OCCURS 0,
           matnr LIKE makt-matnr,
           zppqt LIKE zmpkg-zppqt,
           zspqt LIKE zmpkg-zspqt,
           zpmqt_3 LIKE zmpkg-zpmqt_3,
           END OF it_zmpkg .
    DATA : BEGIN OF it_material OCCURS 0,
             mandt LIKE mara-mandt,          "Client
             werks LIKE marc-werks,
             matnr LIKE marc-matnr,
             maktx LIKE makt-maktx,
             meins LIKE mara-meins,
             zppqt LIKE zmpkg-zppqt,
             zspqt LIKE zmpkg-zspqt,
             zpmqt_3 LIKE zmpkg-zpmqt_3,
             laeda LIKE mara-laeda,
             aenam LIKE mara-aenam,
             date LIKE sy-datum,
             time LIKE sy-uzeit,
             user    LIKE sy-uname,
           END OF it_material.
    P a r a m e t e r s                                                 *
    Start of tabbed screens
    SELECTION-SCREEN BEGIN OF TABBED BLOCK list FOR 20 LINES.
    SELECTION-SCREEN TAB (30) gc_gen USER-COMMAND gen_tab
                                        DEFAULT SCREEN 1001.
    SELECTION-SCREEN TAB (30) gc_view  USER-COMMAND view_tab
                                        DEFAULT SCREEN 1002.
    SELECTION-SCREEN TAB (30) gc_outp  USER-COMMAND outp_tab
                                        DEFAULT SCREEN 1003.
    SELECTION-SCREEN END OF BLOCK list.
    SELECTION-SCREEN BEGIN OF SCREEN 1001 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK box01 WITH FRAME TITLE text-401.
    PARAMETERS : p_werks LIKE marc-werks OBLIGATORY.
    PARAMETERS : p_vkorg LIKE mvke-vkorg OBLIGATORY.
    SELECT-OPTIONS : s_matnr FOR mara-matnr.
    SELECT-OPTIONS : s_mtart FOR mara-mtart.
    SELECT-OPTIONS : s_mmsta FOR marc-mmsta.                           "A01
    SELECT-OPTIONS : s_dispo FOR marc-dispo.
    SELECT-OPTIONS : s_beskz FOR marc-beskz.
    SELECT-OPTIONS : s_lgpro FOR marc-lgpro.
    SELECT-OPTIONS : s_lgfsb FOR marc-lgfsb.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-014.
    PARAMETERS : p_repall RADIOBUTTON GROUP sel2 DEFAULT 'X'.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-011.
    PARAMETERS : p_change  RADIOBUTTON GROUP sel2.
    SELECTION-SCREEN COMMENT 36(1) text-013.
    PARAMETERS : p_chgdat LIKE sy-datum DEFAULT sy-datum.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-010.
    PARAMETERS : p_excdel AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END   OF BLOCK box01.
    SELECTION-SCREEN END OF SCREEN 1001.
    View Selection Screen
    SELECTION-SCREEN BEGIN OF SCREEN 1002 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK box05 WITH FRAME TITLE text-403.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(77) text-109.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-021.
    PARAMETERS: p_sales AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 38(20) text-022.
    PARAMETERS: p_mrp  AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-023.
    PARAMETERS: p_store AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 38(20) text-024.
    PARAMETERS: p_accnt AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-025.
    PARAMETERS: p_cost  AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 38(20) text-026.
    PARAMETERS: p_purch AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END   OF BLOCK box05.
    SELECTION-SCREEN END OF SCREEN 1002.
    SELECTION-SCREEN BEGIN OF SCREEN 1003 AS SUBSCREEN.
    extract format selection
    SELECTION-SCREEN BEGIN OF BLOCK box04 WITH FRAME TITLE text-402.
    PARAMETERS : p_vari LIKE ltdxt-variant OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-009.
    PARAMETERS: p_report RADIOBUTTON GROUP sel1 DEFAULT 'X'.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-016.
    PARAMETERS : p_repcoo RADIOBUTTON GROUP sel1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-017.
    PARAMETERS : p_reppak RADIOBUTTON GROUP sel1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-008.
    PARAMETERS: p_extun RADIOBUTTON GROUP sel1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-007.
    PARAMETERS: p_extpc RADIOBUTTON GROUP sel1.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS: p_pcfile LIKE rlgrap-filename
               DEFAULT 'c:\#ups\CLIENTIDCCYYMMDDHHMMSS.ITM'.
                DEFAULT 'd:\P0121205MMM_YYYYMMDD HHMMSS.XLS'.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(40) text-015.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END   OF BLOCK box04.
    SELECTION-SCREEN END OF SCREEN 1003.
    F i e l d   S y m b o l s                                           *
    FIELD-SYMBOLS: <f>.
    D a t a                                                             *
    common include for file layouts
    INCLUDE zvin1010.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name = 'P_PCFILE'.
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
                     I N I T I A L I Z A T I O N                         *
    INITIALIZATION.
      gc_gen   = text-401.
      gc_outp  = text-402.
      gc_view  = text-403.
    SET up the file directory depending on the system id.
      GET PARAMETER ID 'WRK' FIELD p_werks.
      GET PARAMETER ID 'VKO' FIELD p_vkorg.
      CLEAR s_mtart.
      s_mtart-sign   = 'E'.
      s_mtart-option = 'EQ'.
      s_mtart-low    = 'ROH'.
      s_mtart-high   =  ''.
      APPEND s_mtart.
      CLEAR s_mtart.
      s_mtart-sign   = 'E'.
      s_mtart-option = 'EQ'.
      s_mtart-low    = 'MFPK'.
      s_mtart-high   =  ''.
      APPEND s_mtart.
      CLEAR s_mtart.
      s_mtart-sign   = 'E'.
      s_mtart-option = 'EQ'.
      s_mtart-low    = 'VERP'.
      s_mtart-high   =  ''.
      APPEND s_mtart.
    START-OF-SELECTION.
    check that the download is active
    PERFORM get_data.
    *&      Form  GET_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM get_data .
    SELECT   mandt matnr meins laeda aenam
    FROM mara
    INTO TABLE it_mara
    WHERE matnr IN s_matnr.
    IF NOT it_mara[] IS INITIAL.
    SELECT matnr werks
    FROM marc
    INTO TABLE it_marc
    FOR ALL ENTRIES IN it_mara
    WHERE matnr = it_mara-matnr
    AND werks = p_werks.
    SELECT matnr maktx
    FROM makt
    INTO TABLE it_makt
    FOR ALL ENTRIES IN it_marc
    WHERE matnr = it_marc-matnr
    AND spras = 'E'.
    SELECT matnr zppqt  zspqt zpmqt_3
       INTO TABLE    it_zmpkg
       FROM zmpkg
       FOR ALL ENTRIES IN it_marc
    WHERE matnr = it_marc-matnr
    AND  werks = p_werks.
    ENDIF.
    LOOP AT it_mara.
    READ TABLE it_marc WITH KEY matnr = it_mara-matnr.
    IF sy-subrc EQ 0.
    READ TABLE it_makt WITH KEY matnr = it_mara-matnr.
    IF sy-subrc EQ 0.
    READ TABLE it_zmpkg WITH KEY matnr = it_mara-matnr.
    IF sy-subrc EQ 0.
    it_material-mandt = it_mara-mandt.
    it_material-matnr = it_mara-matnr.
    it_material-maktx = it_makt-maktx.
    it_material-meins = it_mara-meins.
    it_material-laeda = it_mara-laeda.
    it_material-aenam = it_mara-aenam.
    it_material-werks = it_marc-werks.
    it_material-zppqt = it_zmpkg-zppqt.
    it_material-zspqt = it_zmpkg-zspqt.
    it_material-zpmqt_3 = it_zmpkg-zpmqt_3.
    it_material-date = sy-datum.
    it_material-time = sy-uzeit.
    it_material-user = sy-uname.
    APPEND it_material.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDLOOP.
    ENDFORM.                    " GET_DATA

    Hi Kumar,
         After building your it_material internal table, try using GUIO_DOWNLOAD to load the data into an excel sheet.
    check this sample code.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                = SELECT_FILE   " Filename
          FILETYPE                = 'ASC'
          APPEND                  = ' '
        TABLES
          DATA_TAB                = ITAB_STR_1
        EXCEPTIONS
          FILE_WRITE_ERROR        = 1
          NO_BATCH                = 2
          GUI_REFUSE_FILETRANSFER = 3
          INVALID_TYPE            = 4
          NO_AUTHORITY            = 5
          UNKNOWN_ERROR           = 6
          HEADER_NOT_ALLOWED      = 7
          SEPARATOR_NOT_ALLOWED   = 8
          FILESIZE_NOT_ALLOWED    = 9
          HEADER_TOO_LONG         = 10
          DP_ERROR_CREATE         = 11
          DP_ERROR_SEND           = 12
          DP_ERROR_WRITE          = 13
          UNKNOWN_DP_ERROR        = 14
          ACCESS_DENIED           = 15
          DP_OUT_OF_MEMORY        = 16
          DISK_FULL               = 17
          DP_TIMEOUT              = 18
          FILE_NOT_FOUND          = 19
          DATAPROVIDER_EXCEPTION  = 20
          CONTROL_FLUSH_ERROR     = 21
          OTHERS                  = 22.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        EXIT.
      ENDIF.
    Hope this is helpful to you. If you need further information, revert back.
    Reward all the helpful answers.
    Regards
    Nagaraj T

Maybe you are looking for

  • Adobe Photoshop Lightroom 5.0

    I bought Adobe Photoshop Lightroom 5.0 at Oct.11'13 by amazon in Japan. But my P/C is Windows Vista. Is there auy way to fix this problem with some PGM?

  • File name gets converted to upper case

    I am facing an unusual problem with Solaris 10. When I insert an USB thumb drive formatted with FAT to copy some file from the stick, some of the files whatever gets copied to hard disk get their file names changed to upper case. This is quite random

  • Blackscreen?

    Lately my screen will, randomly, go black and the CPU will keep running for like 2 seconds and then restart. After this happens and my pc restarts a window says I had a problem and it was a bluescreen, 6.1.7600.2.0.0.256.1; Local Id: 9226; BCCode 116

  • Xerox phaser 3100 and Snow Leopard

    Good evening! Since 2 days I am trying desperately to install the printer of my dad (xerox phaser 3100) on my macbook 10.6. In fact we did the upgrade on snow leopard without knowing that the printer would not work anymore. Before writing here I made

  • Stay on previous or next row on rollback.

    Hi, I have an af:table where a new row can be created. On Rollback, current selected row is first. Instead of moving to first row, how I stay on any previous or next row ? I am programmatically setting current row in bean but since row is lost by rol