NOT EXISTS - not working

Dear all,
I have 3 tables say A1000, B1000, C1000
create table A1000(a number);
create table B1000(a number);
create table C1000(a number);
With below values:
insert into A1000 values(1)
insert into B1000 values(1)
insert into C1000 values(2)
My Query:
SELECT a.a FROM a1000 a, b1000 b
WHERE a.a=b.a
AND NOT EXISTS (SELECT a FROM C1000)
Since both the tables a1000 & b1000 has matching records, I am expceting one row from A1000. But the query is not returning any row.
Even though table C1000 has one record with value as 2, it should not affect the result set right?
Regards
Natarajan M

it should not affect the result set right?Right, when you tell Oracle the right thing:
SQL> select a.a
  2  from   a1000 a
  3  ,      b1000 b
  4  where  a.a = b.a
  5  and not exists ( select null   --< don't select anything here
  6                   from   c1000 c
  7                   where  c.a = a.a
  8                 );
         A
         1
1 row selected.The fact that you selected 'a' (without any alias) makes me think you treat EXISTS a bit like IN, but they differ.
See:
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:442029737684
http://asktom.oracle.com/pls/asktom/f?p=100:11:3637710709480187::::P11_QUESTION_ID:953229842074
for (much) more information

Similar Messages

  • User xyz does not exist/not attached in this period

    _we checked InfoType 0105, SubType 0001 the value was correct,date range covering the period of validity also not expire.
    so any one suggest solution for this issue ?_
    User xyz does not exist/not attached in this period.
    [EXCEPTION]
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: User xyz  does not exist/not attached in this period.
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:122)
    at com.sap.pcuigp.xssutils.pernr.EmployeeGroupInfo.init(EmployeeGroupInfo.java:140)
    at com.sap.pcuigp.xssutils.pernr.wdp.InternalEmployeeGroupInfo.init(InternalEmployeeGroupInfo.java:183)
    at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.initPernr(FcEmployeeServices.java:270)
    at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.onInit(FcEmployeeServices.java:226)
    at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServices.onInit(InternalFcEmployeeServices.java:273)
    at com.sap.pcuigp.xssutils.pernr.FcEmployeeServicesInterface.onInit(FcEmployeeServicesInterface.java:135)
    at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface.onInit(InternalFcEmployeeServicesInterface.java:198)
    at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface$External.onInit(InternalFcEmployeeServicesInterface.java:258)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084)
    at com.sap.xss.essceservices.vcceassignmentselection.VcCEAssignmentSelection.onInit(VcCEAssignmentSelection.java:235)
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelection.onInit(InternalVcCEAssignmentSelection.java:174)
    at com.sap.xss.essceservices.vcceassignmentselection.VcCEAssignmentSelectionInterface.onInit(VcCEAssignmentSelectionInterface.java:162)
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelectionInterface.onInit(InternalVcCEAssignmentSelectionInterface.java:144)
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelectionInterface$External.onInit(InternalVcCEAssignmentSelectionInterface.java:220)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:869)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:229)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1344)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoApplicationStateChange(PageBuilder.java:303)
    at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoApplicationStateChange(InternalPageBuilder.java:197)
    at sun.reflect.GeneratedMethodAccessor5506.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doApplicationStateChange(DelegatingComponent.java:139)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doApplicationStateChange(ClientComponent.java:667)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doApplicationStateChange(ClientApplication.java:537)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:120)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:333)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    ras

    Hi,
    In transaction HRUSER check if the user XYZ has been attributed to a valid pernr and if the user is valid in period.
    regards,
    Fabio Louzada Saito

  • Menu Element does not exist : not a valid ID (FRM-41067) error

    Dear all,
    I have removed from a menu an item but whenever i run the form i get the error Menu Element does not exist : not a valid ID (FRM-41067) i have searched for FIND_MENU_ITEM but i can't find the menu item id anywhere
    What could be the origin of this error, any tips please?

    Hi!
    Did you have taken a look to menu startup code property in the mmb?
    There is often some code to hide menu items.
    Regards

  • Extract structure not existing/not active

    Hello BWers,
    I have transported my Data Mart settings to the new BW prod environment (not yet in production). However I get an error message when importing saying:
    "The extract structure /BIC/CE8Z0PCA_C01 of the DataSource 8Z0PCA_C01 is invalid
    Message no. R8444
    Diagnosis
    An invalid extract structure has been assigned to the DataSource. An extract structure has to be active in the DDIC. It cannot be a view, since the customer is not able to add append fields for filling in the customer exits to a view."
    I have checed and the structure doesn't exist. It automatically seems to have been added to dev package $TMP (local objects) and was therefor excluded from transport...
    Now, what I wonder, is how do I get this missing structure into my production system? I have the data sources, but the actual structure is missing...
    Best regards,
    Fredrik

    hi Fredrik,
    seems you post the same questions twice,
    as mentioned in your other thread, try 'generate export datasource' in your new production system.
    also take a look similar problem
    Export DataSource problem
    Trasport error while trasporting the Masterdata infosource
    hope this helps.

  • System Administrator does not Exist

    Hi all, for Fresh Installation of 11.5.10.2, I have applied diagnostics patch for IZU_TOP.
    I can login as SYSADMIN account, but can not see System Administrator Responsibility.
    It shows Assigned in User Management module to SYSADMIN user. I tried to End Date and Assign again,and bounced Apache, but it does not show the responsibility after login.
    While starting / stpooing of CM, it gives message :
    'Please enter a valid responsibility. The responsibility System Administrator does not exist or is not active. Check that the correct applicaton short name is specified for your responsibility'.
    Please help..
    Rohit

    Thanks for your inputs, issue got resolution after below actionplan suggested in SR.
    RESEARCH
    =========
    (Note: This is INTERNAL ONLY research. No action should be taken by the customer on this information.
    This is research only, and may NOT be applicable to your specific situation.)
    Note 335487.1 Patch 3480000 Error: Responsibility System Administrator
    Does Not Exist
    Note 309009.1 FND.H Patch 3262159 FNDLIBR fails with "Please enter a
    valid responsibility" error
    Note 316959.1
    ACTION PLAN
    ============
    As detailed in note 316959.1 please do the following:
    SELECT *
    FROM Fnd_Responsibility_vl
    WHERE Application_Id = 1
    AND Responsibility_Name = 'System Administrator'
    AND Start_Date <= Sysdate
    AND ( End_Date is NULL OR End_Date > Sysdate );
    2.-
    SELECT count(*)
    FROM Fnd_User_Resp_Groups;
    3.- Back up the wf_role_hierarchies table into a new table you create.
    Delete the entries in that table (2 rows exist)
    Run affurgol.sql FORCE
    Then replace those entries back into wf_role_hierarchies table
    The steps to execute are:
    3.a.
    SQL> CREATE TABLE wf_role_hierarchies_copy AS
    SELECT * FROM wf_role_hierarchies;
    3.b.
    SQL> TRUNCATE TABLE applsys.wf_role_hierarchies;
    3.c.
    SQL> @affurgol.sql FORCE
    3.d.
    SQL> INSERT INTO wf_role_hierarchies
    SELECT * FROM wf_role_hierarchies_copy;
    4.- Provide the output of the following SQL statement at this point:
    SELECT count(*)
    FROM Fnd_User_Resp_Groups;

  • Collection does not exist after update of session state

    Attempting to leverage sample application code from Knowledge Testing 1.0 using apex v3.00 and getting ORA-20102: Application collection QUESTIONS does not exist
    Note that the error is thrown in a cursor loop over that very collection (see bolded text below)
    Can anyone shed some light on the subject?
    Thx,
    Derek
    SFFD
    procedure get_question
    is
      c             pls_integer := 0;I NUMBER;
      l_question    pls_integer := 0;
    --DEBUG
      log_root number;
    --/DEBUG
    begin
    --DEBUG
        begin
          select max(log_id) into log_root from fdrpts.log_entries where routine='QUIZ';
           exception when no_data_found then
               log_root:= fdrpts.log.add('INFO','QUIZ','Testing quiz functions');
           end;
        IF LOG_ROOT IS NULL THEN log_root:= fdrpts.log.add('INFO','QUIZ','Testing quiz functions'); END IF;
    --/DEBUG
        l_question := nvl(nv('KT_QUESTION'),1);
    --DEBUG
        log_root := fdrpts.log.add('INFO','QUIZ.GET_QUESTION','quiz.get_question('||to_char(l_question)||')',LOG_ROOT);
    SELECT COUNT(*) INTO i FROM APEX_COLLECTIONS WHERE COLLECTION_NAME='QUESTIONS';
    *fdrpts.log.add('INFO','QUIZ.GET_QUESTION',TO_CHAR(i)||' QUESTIONS IN TEST QUEUE',LOG_ROOT);*
    --/DEBUG
        if l_question > nvl(nv('KT_QUESTION_COUNT'),1) THEN -- wrap to beginning of test, page logic will handle quit.
    --DEBUG
           fdrpts.log.add('INFO','QUIZ.GET_QUESTION','KT_QUESTION ('||L_QUESTION||') > KT_QUESTION_COUNT ('||nvl(nv('KT_QUESTION_COUNT'),1)||') WRAPPING AND SETTING STATUS TO ''REVIEW''',LOG_ROOT);
    --/DEBUG
           wwv_flow.update_cache_with_write('KT_TEST_STATUS','REVIEW');
           wwv_flow.update_cache_with_write('KT_QUESTION',1);
           l_question:=1;
        end if;
        *for c1 in (*
        SELECT
          SEQ_ID,
          c001 q_number,
          c004 qtype,
          c005 question,
          c006 image,
          c007 question_footer,
          c008 question_header,
          c009 answer,
          trim(c010) WRONG1,
          trim(c011) WRONG2,
          trim(c012) wrong3,
          trim(c013) wrong4,
          c014 correct_answer,
          c015 w1,
          c016 w2,
          c017 w3,
          c018 w4,
          c020 answer_given,
          c021 get_time,
          c022 post_time
        *FROM APEX_collections*
        *WHERE collection_name = 'QUESTIONS'*
        order by c002
        *) loop* -- NOTE: the order by c002
            c := c + 1;
    --DEBUG
    fdrpts.log.add('INFO','QUIZ.GET_QUESTION','quiz.get_question SCANNING '||TO_CHAR(C),LOG_ROOT);
    --/DEBUG
            if c = l_question then -- this is the nth question in test's ordering method
                wwv_flow.update_cache_with_write('KT_QUESTION_TEXT',htf.escape_sc(c1.question));
                wwv_flow.update_cache_with_write('KT_QUESTION_FOOTER',htf.escape_sc(c1.question_footer));
                wwv_flow.update_cache_with_write('KT_QUESTION_HEADER',htf.escape_sc(c1.question_header));
                wwv_flow.update_cache_with_write('KT_QTYPE',nvl(c1.qtype,'PICTURE'));
                wwv_flow.update_cache_with_write('KT_SELECTION',c1.answer_given);
                wwv_flow.update_cache_with_write('KT_IMAGE','<img src="'||
                    replace(replace(replace(c1.image,
                       '#WORKSPACE_IMAGES'||'#',
                       v('WORKSPACE_IMAGES')),
                       '#APP_IMAGES'||'#',
                       v('APP_IMAGES')),
                       '#IMAGE_PREFIX'||'#',
                       v('IMAGE_PREFIX'))||
                    '" alt="picture" />');
                wwv_flow.update_cache_with_write('KT_COLLECTION_SEQ_ID',c1.SEQ_ID);
    --DEBUG
    fdrpts.log.add('INFO','QUIZ.GET_QUESTION','quiz.get_question SESSION VARS SET',LOG_ROOT);
    --/DEBUG
                if c1.correct_answer = 1 then
                   wwv_flow.update_cache_with_write('KT_CORRECT','1');
                   wwv_flow.update_cache_with_write('KT_LABEL1',c1.answer);
                   wwv_flow.update_cache_with_write('KT_LABEL2',c1.wrong1);
                   wwv_flow.update_cache_with_write('KT_LABEL3',c1.wrong2);
                   wwv_flow.update_cache_with_write('KT_LABEL4',c1.wrong3);
                   wwv_flow.update_cache_with_write('KT_LABEL5',c1.wrong4);
                elsif c1.correct_answer = 2 then
                   wwv_flow.update_cache_with_write('KT_CORRECT','2');
                   wwv_flow.update_cache_with_write('KT_LABEL2',c1.answer);
                   wwv_flow.update_cache_with_write('KT_LABEL1',c1.wrong1);
                   wwv_flow.update_cache_with_write('KT_LABEL3',c1.wrong2);
                   wwv_flow.update_cache_with_write('KT_LABEL4',c1.wrong3);
                   wwv_flow.update_cache_with_write('KT_LABEL5',c1.wrong4);
                elsif c1.correct_answer = 3 then
                   wwv_flow.update_cache_with_write('KT_CORRECT','3');
                   wwv_flow.update_cache_with_write('KT_LABEL3',c1.answer);
                   wwv_flow.update_cache_with_write('KT_LABEL1',c1.wrong1);
                   wwv_flow.update_cache_with_write('KT_LABEL2',c1.wrong2);
                   wwv_flow.update_cache_with_write('KT_LABEL4',c1.wrong3);
                   wwv_flow.update_cache_with_write('KT_LABEL5',c1.wrong4);
                elsif c1.correct_answer = 4 then
                   wwv_flow.update_cache_with_write('KT_CORRECT','4');
                   wwv_flow.update_cache_with_write('KT_LABEL4',c1.answer);
                   wwv_flow.update_cache_with_write('KT_LABEL1',c1.wrong1);
                   wwv_flow.update_cache_with_write('KT_LABEL2',c1.wrong2);
                   wwv_flow.update_cache_with_write('KT_LABEL3',c1.wrong3);
                   wwv_flow.update_cache_with_write('KT_LABEL5',c1.wrong4);
                else
                   wwv_flow.update_cache_with_write('KT_CORRECT','5');
                   wwv_flow.update_cache_with_write('KT_LABEL5',c1.answer);
                   wwv_flow.update_cache_with_write('KT_LABEL1',c1.wrong1);
                   wwv_flow.update_cache_with_write('KT_LABEL2',c1.wrong2);
                   wwv_flow.update_cache_with_write('KT_LABEL3',c1.wrong3);
                   wwv_flow.update_cache_with_write('KT_LABEL4',c1.wrong4);
                end if;
    --DEBUG
    fdrpts.log.add('INFO','QUIZ.GET_QUESTION','quiz.get_question LABELS SET',LOG_ROOT);
    *fdrpts.log.add('INFO','QUIZ.GET_QUESTION','GET_TIME='||to_char(sysdate-nvl((to_date(c1.post_time,'YYYYMMDDHH24MISS')-to_date(c1.get_time,'YYYYMMDDHH24MISS')),0),'YYYYMMDDHH24MISS'),LOG_ROOT);*
    --/DEBUG
                -- set question generation time  *THIS IS THE OFFENDING STATEMENT*
                APEX_COLLECTION.UPDATE_MEMBER_ATTRIBUTE(
                  p_collection_name       => 'QUESTIONS',
                  p_seq                   => c1.seq_id,
                  p_attr_number           => 21,  --GET_TIME
                  p_attr_value            => to_char(sysdate-nvl((to_date(c1.post_time,'YYYYMMDDHH24MISS')-to_date(c1.get_time,'YYYYMMDDHH24MISS')),0),'YYYYMMDDHH24MISS'));
    *fdrpts.log.add('INFO','QUIZ.GET_QUESTION','quiz.get_question READY TO EXIT',LOG_ROOT);*
                exit;
            end if;
        *end loop;*
    --DEBUG
    fdrpts.log.add('INFO','QUIZ.GET_QUESTION','quiz.get_question EXIT',LOG_ROOT);
    --/DEBUG
    end get_question;LOGS
        *LOG_ID          DTTM                       ROUTINE                                     TEXT*
       7014853 04/23/09 11:40:57 QUIZ                                 TEST 14
       7014854 04/23/09 11:41:22 QUIZ.INIT_TEST                 quiz.init_test(2,918615994152352,'DEREK')
       7014855 04/23/09 11:41:22 QUIZ.INIT_TEST                 4/5 QUESTIONS RANDOMIZED
       7014856 04/23/09 11:41:22 QUIZ.INIT_TEST                 RANDOM QUEUE CREATED 5 ENTRIES
       7014857 04/23/09 11:41:22 QUIZ.INIT_TEST                 GROUP 2
       7014858 04/23/09 11:41:22 QUIZ.INIT_TEST                 4 QUESTIONS IN TEST QUEUE
       7014859 04/23/09 11:41:22 QUIZ.INIT_TEST                 SESSION VARS SET
       7014860 04/23/09 11:41:23 QUIZ.GET_QUESTION              quiz.get_question(1)
       7014861 04/23/09 11:41:23 QUIZ.GET_QUESTION              4 QUESTIONS IN TEST QUEUE
       7014862 04/23/09 11:41:23 QUIZ.GET_QUESTION              quiz.get_question SCANNING 1
       7014863 04/23/09 11:41:23 QUIZ.GET_QUESTION              quiz.get_question SESSION VARS SET
       7014864 04/23/09 11:41:23 QUIZ.GET_QUESTION              quiz.get_question LABELS SET
       *7014865 04/23/09 11:41:23 QUIZ.GET_QUESTION              GET_TIME=20090423114123*
    13 rows selected.Edited by: derek on Apr 23, 2009 1:43 PM
    Edited by: derek on Apr 23, 2009 2:06 PM

    Hi Tyson,
    If you look closely you will see that the routine already has access to the collection (which is, in fact, instantiated in a different procedure).
    The routine has a debug statement to count and log the number of collection members; that statement reports 4 members in the collection.
    Then the routine opens a cursor loop over that collection, calcs and sets some session variables and attempts to update the collection.
    It is at this point (in the midst of the cursor loop over the same collection) that the collection does not exists is thrown.
    Does it not follow that if the cursor loop has entered its first iteration, then the collection exists? How then does it cease to exist during the cursor loop (absent a call to one of apex_collection.delete_ methods)?
    Derek
    SFFD

  • Error in pakcage table or view does not exist but on sql prompt query works

    Hi
    Can any one help me to understand the error of ORA-00942: table or view does not exist while compiling the package on Oracle 9.2.0.4.0
    The below package compiled in system user and trying to query on view v$session_wait however getting below error.
    PACKAGE BODY SYSTEM.PK_DB_ALERT
    On line: 212
    PL/SQL: ORA-00942: table or view does not exist
    I can execute same query mentioned below from sql prompt from system user and it works fine however it doesn't like from package, Please advice, thank you in advance.
    SELECT SID, seq#, event, wait_time
    FROM v$session_wait
    WHERE event NOT LIKE 'SQL*Net%' AND wait_time <> 0
    ORDER BY 2

    SDD wrote:
    Hi
    Can any one help me to understand the error of ORA-00942: table or view does not exist while compiling the package on Oracle 9.2.0.4.0Which means package owner is granted select on view not directly but via roles. However, roles are ignored by definer rights packages/stored procedures/stored functions/triggers... You need to grant package owner select on view directly.
    SY.
    Edited by: Solomon Yakobson on Jan 21, 2010 4:06 AM

  • The work book does not exist in the document store

    Hi Forum,
    Has anyone come accross this error "The work book does not exist in the document store" I just changed the description of my Work book in Development and saved. Now it wont open. The error message is "The work book does not exist in the document store". I already have this work book in Q. So I cannot create another one with a different tech. name. Someone please help

    Youcan no longer display a workbook. You receive an error message when opening: <Internal error>: 1201 document storage
    Cause and prerequisites
    In very rare cases, when you store a workbook, you might not be able to open it again.
    Solution
    Function module BDS_PHIOS_GET_RIGHT has to be changed so that the last available version of the Workbooks can be displayed.

  • System message 38 from work area ssfcomposer does not exist in va03

    Hi,
    I created a smartform copy from standard, it is working good for all sales order,but for perticular one sale order it shwing error like
    system message 038 from work area ssfcomposer does not exist.
    i have long item line in this sale order what can i do please help me.
    Regards
    KK

    If I am not wrong, I guess you are using template/table inside your smartform.. which is causing the error.
    I issue could be because of the condition on the text inside the template which might be overlapping the output structure line and column. The issue can be also be because of your table cell.
    To trouble shoot place a false condition(like 1 = 2) first on table and if error still occurs then remove condition on table and place it on structure.
    I guess, the above answer will help you to close the thread.
    Regards,
    SaiRam

  • Sytem message 047 from work area SSFCOMPOSER does not exist

    Hi Friends,
    When I am trying to see the print preview of a PO I am getting this error msg
    "Sytem message 047 from work area SSFCOMPOSER does not exist".
    I had checked the forum and the System message was 046, but the error is not solved.
    Regards,
    Anu.

    Wrong forum to post the issue.
    VJ

  • Checking to see if files exist not working as expected.

    Hey, so I've set up a script that determines the artist playing on iTunes and sets the background image to a preselected picture of them. I want to expand this to allow different pictures of the artists, and after a few attempts, decided to use a time based system. However, some artists have 2 images (named Artist1.jpg and Artist2.jpg), whilst others only have one (Artist.jpg). I can get the scripting right for if all artists have 2 images, yet am having problems with the system determining if certain files exist.
    who is the artist playing, and myNum is either 1 or 2, and changes based on the time, both set earlier in the script and verified to work.
    set MultiWall to ("/Users/ethan/Pictures/Music Wallpaper/" & who & myNum & ".jpg")
    set SingleWall to ("/Users/ethan/Pictures/Music Wallpaper/" & who & ".jpg")
    tell application "System Events"
                       if not (exists MultiWall) then
                                                           tell application "Finder"
                                                                          set desktop picture to file SingleWall
                                                           end tell
                       else
                                                           tell application "Finder"
                                                                          set desktop picture to file MultiWall
                                  end tell
                                            end if
    end tell
    I've tried many variations of this, from less variables to more, restructuring it and whatnot and it just isn't working for me. Thanks all.

    If you are still having difficulties you may like to try this method:
    set myPath to "/Users/neville/Desktop/test" & ".png"
    if (do shell script "/bin/test -e '" & myPath & "'; echo $?") is "0" then
      tell application "Safari" to open myPath
    end if
    It should work if you copy and paste it.
    Please note the combined single and double quotes. Don't put a space between them. You may not need the single quotes if you have control over the path. Most people would opt for 'quoted form of' but I prefer concise code.

  • Can't get Sequencing working (table or view does not exist...)

    Hello,
    I'm running JDeveloper 10.1.2 on a Oracle 9i database.
    All my mappings are correct, i mean, i can query the database using the Toplink API and list all the objects on teh database. What it's not working is inserting new objects due to this sequencing problem.
    This is what i'm doing:
    myClass newObject = (myClass) uow.newInstance(myClass.class);
    uow.assignSequenceNumber(newObject);
    But this is generating this Exception:
    Local Exception Stack: Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseExceptionException Description: java.sql.SQLException: ORA-00942: table or view does not exist
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    I figured this could be a problem with the sequencing configuration and all that stuff (I don't have a sequence table). So i checked my configurations...
    'Toplink Mappings' is setup to 'Use Native Sequencing', as per Notes on http://www.boku.ac.at/oradoc/ias/10g(9.0.4)/web.904/b10313/dataaccs.htm. This page also states this:
    "When using native sequencing with Oracle, specify the name of the sequence object (the object that generates the sequence numbers) for each descriptor. The sequence preallocation size must also match the increment on the sequence object" (...) "Use preallocation and native sequencing for Oracle databases.
    And this is exactly what i'm doing. On myClass mappings, the 'Use Sequencing' checkbox is checked, the correct sequence name is typed correctly, once this is the same sequence i've been using for years prior to Toplink, the selected table is the correct one, just as the id field on the table.
    Another thing is that the 'Preallocation Size' on Toplink Mappings match the increment value on the database sequence.
    I must be missing something...
    Can anybody shed some light on this?
    Thanks a lot to all.

    Hello
    The method accessing check box tells TopLink to use the get/set methods on your object to set its attributes - If it is unselected, TopLink will set the attribute directly. Great if you have business logic in your get/set methods that you don't want TopLink to hit each time it creates an object after a read from the database (or registers, etc).
    The problem you are encountering seems like you have sequencing set to "Use Default Sequencing Table". This option is on the "TopLink Mappings" page on the "Database info" tab just below where you would have set which connection to use. You will need to ensure you have the "use Native sequencing" selected. If you set this information instead through code, be sure you do it on the database login before you login to the session.
    If this doesn't help, try turning on TopLink logging to see the SQL statement that causes the problem. The knowing the table name and SQL being used might help figure out where it is being set.
    Best Regards,
    Chris

  • My cursor frequently stops working.  It still moves but nothing happens when I click with it.  Also, when I go for support Apple tells me my serial number does not exist but I am sure I am entering the correct one.

    My arrow cursor changes unexpectedly to the "tall I" cursor and then I can't open links.
    My two delete buttons only work one letter/number at a time.
    When I go for Apple support it says my serial number does not exist?  But I know it is correct!

    If you think getting your web pages to appear OK in all the major browsers is tricky then dealing with email clients is way worse. There are so many of them.
    If you want to bulk email yourself, there are apps for it and their templates will work in most cases...
    http://www.iwebformusicians.com/Website-Email-Marketing/EBlast.html
    This one will create the form, database and send out the emails...
    http://www.iwebformusicians.com/Website-Email-Marketing/MailShoot.html
    The alternative is to use a marketing service if your business can justify the cost. Their templates are tested in all the common email clients...
    http://www.iwebformusicians.com/Website-Email-Marketing/Email-Marketing-Service. html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • User does not exist in this period / ESS does not work anymore ;-(

    Hello experts,
    starting any ess application on portal side (leave request), I get the follwoing error code:
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: User TESTUSER does not exist in this period
    Starting application personal data I get the message: "There are no services in the area."
    I know, that this error has often been discussed in this forum. So I check the hints I found, but I could not solve my problem.
    The HR user TESTUSER is assigned to the portal user TESTUSER in IT0105 and the user is not exceeded.
    TESTUSER got SAP_ALL on HR side.
    The error appears for all users, that worked propably a few days before.
    Login on portal side and HR works. ESS overview is shown for TESTUSER. For a user that has not a login to HR system it does not appear. So the single singn on (SSO) between portal and HR system seems to work.
    The ESS applications worked fine until two days ago. Portal guys said, they had not done any changes on portal side.
    Where could the error occure on HR side? How can I recognize if any changes have been made on HR side?
    Thank you for your help.

    TX HRUSER seems not working.
    Using the function 'Set Up and Maintain ESS User (Overview)' in TX HRUSER with my test-PERNR it is shown under 'Employees with deleted users'.
    Clicking on it I got the Information:
    PERS.NO: 12345678 (i.e.) NAME: Test User FROM: 01.01.2011 TO: 31.12.9999 USER: Name:  FROM: TO: User does not exist.
    But in IT0105 the PERNR is assigned to user TESTUSER in that period.
    When I try to assign  PERNR to TESTUSER with TX HRUSER under 'Assign Employees to Existing Users' I read the follwing information:
    USER: TESTUSER Name: FROM: 01.01.2011 TO: 31.12.9999 USER GROUP: IT PERS.NO.: NAME: FROM: TO: no employee assigned.
    Trying to 'assign employees' I get the message 'Error occurred when creating relationship for user ESSUSER-B to employee'.
    Please create the appropriate assignment manually in HR master data.
    But I have assigned it manualy in IT 0105.
    Concurrent employment (CCURE PAUIX) is not activated.

  • I'm trying to connect to my work's VPN.  I am connected to the VPN, but I cannot access the server. I keep getting a message that says the server may not exist or is unavailable.  I know that's not the case because my coworkers are connected. Can someone

    I'm trying to connect to my work's VPN.  I am connected to the VPN, but I cannot access the server. I keep getting a message that says the server may not exist or is unavailable.  I know that’s not the case because my coworkers are connected. Can someone please help me? 

    I have the same problem. It is only with tv shows and only with programs I have downloaded after the software update.
    Apple support sent me the above link too....but it doesn't solve the problem...my computer is authorized and the content is in my library and will play on my Mac air, but it will not sync the tv shows, it keeps saying my computer isn't authorized for it.
    No answers here, but you are definitely not alone with this issue.

Maybe you are looking for