ORA-00942 during query

I have a report that I am getting the above error one when trying to run. The report will run fine with one table in it however, if I try to do I join to another table I get the error. I read that this could be a rights issue so I have added the select any table option to the user. I have seperate forms for this join tables and I can run these forms and see the data no problem. Any suggestions?

select any table This is a very powerful system-level privilege, not to be granted lightly without thinking of all the consequences (applies to all the "ANY" privileges)
to the userApex applications are run in the context of the "parsing schema", call it the application owner. Doesn't matter which end-user is running the application. Only the parsing schema needs to have the necessary grants to access the objects the application needs.

Similar Messages

  • Ora-00942 when querying object privs

    Hi, I have a OEM 9.2 accessing an Oracle 9.2 instance. When querying object privs I get error 942. All else works OK. I have 07_dictionary_accesibility=true and the OEM user has DBA and select any dictionary privs. oms.nohup does not show anything unusual neither dbsnmp.log . Any ideas?

    there will still be some sys objects that may throw this

  • ORA-00942 Error during unicode export of BI 7.0

    Hello Everyone,
    I am doing an export of a non-unicode BI 7.0 system to convert and import it into a Unicode database. All the jobs have passed except one and I see the following error in the log file (SAPAPPL0_3.log)
    /usr/sap/ABD/SYS/exe/run/R3load: START OF LOG: 20080302124247
    /usr/sap/ABD/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    /usr/sap/ABD/SYS/exe/run/R3load: version R7.00/V1.4
    Compiled Jun  9 2007 09:20:06
    /usr/sap/ABD/SYS/exe/run/R3load -e SAPAPPL0_3.cmd -datacodepage 4102 -l SAPAPPL0_3.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
    (RSCP) WARN: UMGCONTAINER has 1 problems.
    (RSCP) INFO: UMGSETTINGS nametab creation: ok.
    (RSCP) INFO: Global fallback code page = 1100
    (RSCP) INFO: Common character set is  not  7-bit-ASCII
    (RSCP) INFO: Collision resolution method is 'fine'
    (RSCP) INFO: R3trans code pages = Normal
    (RSCP) INFO: EXPORT TO ... code pages = Normal
    (RSCP) INFO: Check for invalid language keys: active, by default
    (RSCP) INFO: I18N_NAMETAB_NORM_ALLOW = 999999999
    (RSCP) INFO: I18N_NAMETAB_NORM_LOG   = 1000000002
    (RSCP) INFO: I18N_NAMETAB_ALT_ALLOW  = 10000
    (RSCP) INFO: I18N_NAMETAB_ALT_LOG    = 10003
    (RSCP) INFO: I18N_NAMETAB_OLD_ALLOW  = 0
    (RSCP) INFO: I18N_NAMETAB_OLD_LOG    = 500
    (GSI) INFO: dbname   = "ABD20070922100908
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "ussbbdd5                                                        "
    (GSI) INFO: sysname  = "HP-UX"
    (GSI) INFO: nodename = "ussbbdd5"
    (GSI) INFO: release  = "B.11.23"
    (GSI) INFO: version  = "U"
    (GSI) INFO: machine  = "ia64"
    (GSI) INFO: instno   = "INITIAL   "
    (EXP) ERROR: DbSlExeRead failed
      rc = 103, table "/BIC/SZTERR_CD"
      (SQL error 942)
      error message returned by DbSl:
    ORA-00942: table or view does not exist
    (DB) INFO: disconnected from DB
    /usr/sap/ABD/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/ABD/SYS/exe/run/R3load: END OF LOG: 20080302124251
    When I run the following command on /BIC/SZTERR_CD, I do not get any table information back. I am not sure how to fix it though.
    SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME = '/BIC/SZTERR_CD '; 
    I did finish all the unicode preconversion steps and also ran the SMIGR_CREATE_DDL program. I had exported recently from the same system but I never got this error during that run.
    Another question is about the order in which the steps need to be performed. I completed the preconversion steps, then ran the SMIGR_CREATE_DDL program before proceeding to the export phase. Is this right or does it not matter?
    Thanks again for your help!

    Hello Stacy,
    > When I run the following command on /BIC/SZTERR_CD, I do not get any table information back. I am not sure how to fix it though.
    > SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME = '/BIC/SZTERR_CD ';
    If the object does not exists on the source target database, please check if the ddic of sap still contains the table definition. (SE11 or SE14)
    If yes you can set the status of the table /BIC/SZTERR_CD to "ok" in the corresponding task file.
    You can not fix this problem in other way after you have started the conversion, because of the export files are already generated (with the information of the sap ddic)...
    > I completed the preconversion steps, then ran the SMIGR_CREATE_DDL program before proceeding to the export phase. Is this right or does it not matter?
    That was the right way.
    Regards
    Stefan

  • Dbms_sql  in a different schema from query table-error  ** ORA-00942

    Oracle Experts,
    I think I am having problems with using DBMS_SQL in which the function was created in one schema and the query table was created in a different schema.
    We have 2 schemas: S1, S2
    We have 2 tables:
    T1 in Schema S1
    T2 in Schema S2
    We have a function F1 created by DBA in schema S1 that uses the dbms_sql as:
    CREATE OR REPLACE FUNCTION S1.F1(v1 in VARCHAR2) return NUMBER IS
    cursor1 INTEGER;
    BEGIN
    cursor1 := dbms_sql.open_cursor;
    dbms_sql.parse(cursor1, v1, dbms_sql.NATIVE);
    dbms_sql.close_cursor(cursor1);
    return (0);
    EXCEPTION
    when others then
    dbms_sql.close_cursor(cursor1);
    return (1) ;
    END;
    I am using jdeveloper 11G. We have an Oracle DB 11g.
    We have a java program which uses jdbc to talk to our Oracle DB.
    Basically, in my java program, I call function F1 to check if the query is valid.
    If it is, it returns 0. Otherwise, returns 1:
    oracle.jdbc.OracleCallableStatement cstmt = (oracle.jdbc.OracleCallableStatement) connection.prepareCall ("begin ? := S1.F1 (?); end;");
    cstmt.registerOutParameter (1, java.sql.Types.INTEGER);
    cstmt.setString(2, "Select * from S2.T2");
    cstmt.execute ();
    Since the table that I run the query is T2, created in different schema than F1 was created in, I have the error:
    ** ORA-00942: table or view does not exist
    So my questions are these:
    - I am using Oracle DB 11g, if I run the query on a table that created in a different schema from the one that the function (which uses dbms_sql) was created in, I would get the error ORA-00942?
    - If I runs the query on table T1 in the same schema as the function F1, would I have the same problem(The reason I ask is I cannot create any table in schema S1 because the DBA has to do it; I am not a DBA)
    - This is not a problem, but a security feature because of SQL injection?
    - How to resolve this issue other than creating the table in the same schema as the function that utilizes DBMS_SQL?
    Regards,
    Binh

    Definer rights (default) stored objects run under owner's security domain and ignore role based privileges. So regardless what user you are logged in as, function S1.F1 always executes as user S1 and ignores user S1 roles. Therefore exeuting statement within S1.F1:
    Select * from S2.T2requires user S1 to have SELECT privilege on S2.T2 granted to S1 directly, not via role.
    SY.

  • "Object Browser" Table Query "Drill Up" Fails with ORA-00942

    I feel I have tested this capability in an earlier release of apex and it worked flawlessly... :)
    but currently it is not. :(
    It seems to be a problem with [ APP_ID=4500 Page=46 ].
    To Duplicate the error...
    Note: This example assumes "Sample Application" is loaded to the workspace.01) Logon as an APEX developer.
    02) Click on "SQL Workshop"...
    03) Click on "Object Browser"...
    04) Click on table "DEMO_ORDERS"...
    05) Click on "Data" [ between "Table" and "Indexes" ]...
    06) Click on "Query" [ below "Table" ]...
    07) Select "Show" in "Drill Up and "Drill Down Links"...
    08) Select "Check All"...
    09) Click the "Query" button...
    10) Once the result is displayed...
    Click on the demo_customers in the first "Drill Up" column.
    ...after the click in "step 10" above...
    the following error will be return.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Current Table/View: DEMO_CUSTOMERS
    4500_46_RET_TO_QUERY
    failed to parse SQL query:
    ORA-00942: table or view does not exist
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    "Drill Up" or "Drill Down" both fail with this message.
    I am currently running apex version 3.2.0.00.27 and also confirmed that the error occurs in the current apex demo website... which is currently at version 3.2.1.00.11.
    Thanks in advance... :)
    v/r
    RJones

    Jason ORCL wrote:
    I think you misunderstood.
    I call the apps API from custom code.
    It runs the API with no issue. It fails when it tries to access the HR table. So APPS cannot access HR.
    Are you saying I need to modify APPS code?? That is not likely. Are you saying I need to create a public synonym for an HR table for APPS? That seems unlikely also...OK, looks like there is a typo in your first post and the object name is IRC_ASSIGNMENT_STATUSES.
    From eTRM, I see the following:
    TABLE: HR.IRC_ASSIGNMENT_STATUSES
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=IRC_ASSIGNMENT_STATUSES&c_owner=HR&c_type=TABLE
    APPS.IRC_ASSIGNMENT_STATUSES
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=IRC_ASSIGNMENT_STATUSES&c_owner=APPS&c_type=SYNONYM
    So, this indicates that apps user should be able access this table without a prefix.
    SQL> show user
    USER is "APPS"
    SQL> desc IRC_ASSIGNMENT_STATUSES
    Name                                      Null?    Type
    ASSIGNMENT_STATUS_ID                      NOT NULL NUMBER(15)
    ASSIGNMENT_ID                             NOT NULL NUMBER(15)
    ASSIGNMENT_STATUS_TYPE_ID                 NOT NULL NUMBER(15)
    STATUS_CHANGE_DATE                        NOT NULL DATE
    STATUS_CHANGE_REASON                               VARCHAR2(240)
    LAST_UPDATE_DATE                          NOT NULL DATE
    LAST_UPDATED_BY                           NOT NULL NUMBER(15)
    LAST_UPDATE_LOGIN                                  NUMBER(15)
    CREATED_BY                                NOT NULL NUMBER(15)
    CREATION_DATE                             NOT NULL DATE
    OBJECT_VERSION_NUMBER                     NOT NULL NUMBER(9)Thanks,
    Hussein

  • Ides installation error during "perform post-load activities" ORA-00942:

    Dear Guru's
    I am having problem in ides ERP 2005 SR1 installation .with oracle 10g on windows 2003.
    Currently i am facing problem at "perform post-load activities"
    Below is the logs from sapinst_dev.log:-
    TRACE      [iaxohsqlx.hpp:1043]
               COraSQLScriptExec<LoggingStrategy>::executeScript()
    COraSQLScriptExec<LoggingStrategy>::executeScript: Script executed with error message.
    TRACE      [iaxxejsexp.cpp:188]
               EJS_Installer::writeTraceToLogBook()
    OraSqlScript3.execute: Result of SQL:
    ERROR      2011-02-14 10:50:28 [iaxxinscbk.cpp:271]
               abortInstallation
    CJS-00084  SQL statement or script failed.<br>DIAGNOSIS: Error message: ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL2'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'CLUST'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'DDIM'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3FACT' WHERE TABART = 'DFACT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3ODS' WHERE TABART = 'DODS'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'POOL'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDIC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDOCU'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SLDEF'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SLEXC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SLOAD'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SPROT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SSDEF'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SSEXC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SSRC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'TEMP'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3USR' WHERE TABART = 'USER'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3USR' WHERE TABART = 'USER1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL0'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL2'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'CLUST'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'DDIM'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3FACT' WHERE TABART = 'DFACT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3ODS' WHERE TABART = 'DODS'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'POOL'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDIC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSP.<br>SOLUTION: See ora_sql_results.log and the Oracle documentation for details.
    TRACE      [iaxxejsbas.hpp:388]
               handleException<ESAPinstException>()
    Converting exception into JS Exception Exception.
    ERROR      2011-02-14 10:50:28
               CJSlibModule::writeError_impl()
    MUT-03025  Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
    TRACE      [iaxxejsbas.hpp:460]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2011-02-14 10:50:28 [iaxxgenimp.cpp:736]
               showDialog()
    FCO-00011  The step runDdicoraSql with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_ORA|ind|ind|ind|ind|0|0|runDdicoraSql was executed with status ERROR .
    TRACE      [iaxxgenimp.cpp:657]
               showDialog()
    <html><head></head><body><p>An error occurred while processing service <b>SAP ERP 2005 Support Release 1 > SAP Systems > Oracle > Central System > Central System Installation</b>. You may now</p><ul> <li>press <I>Retry</I> to repeat the current step.</li> <li>press the <I>View Log</I> button to get more information about the error.</li> <li>stop the task and continue with it later.</li></ul><p>Log files are written to <b>C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS</b>
    TRACE      [iaxxgenimp.cpp:1093]
               showDialog()
    waiting for an answer from gui
    PLEASE HELP.
    Regards
    AKif

    Below is the ora_sql_results.log
    ==============================================================
    2011-02-14, 12:23:39 SAPINST ORACLE start logging for
    @@ddicora.sql
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Feb 14 12:23:39 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Connected.
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL0'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL2'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'CLUST'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'DDIM'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3FACT' WHERE TABART = 'DFACT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3ODS' WHERE TABART = 'DODS'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'POOL'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDIC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDOCU'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SLDEF'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SLEXC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SLOAD'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SPROT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SSDEF'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SSEXC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SSRC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'TEMP'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3USR' WHERE TABART = 'USER'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3USR' WHERE TABART = 'USER1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL0'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL2'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'CLUST'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'DDIM'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3FACT' WHERE TABART = 'DFACT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3ODS' WHERE TABART = 'DODS'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'POOL'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDIC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDOCU'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SLDEF'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SLEXC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SLOAD'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SPROT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SSDEF'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SSEXC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SSRC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'TEMP'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3USR' WHERE TABART = 'USER'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3USR' WHERE TABART = 'USER1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    DELETE FROM SAPSR3.tsora
    ERROR at line 1:
    ORA-00942: table or view does not exist
    INSERT INTO SAPSR3.tsora  (TABSPACE, INDSPACE) VALUES ('PSAPSR3', 'PSAPSR3')
    ERROR at line 1:
    ORA-00942: table or view does not exist
    INSERT INTO SAPSR3.tsora  (TABSPACE, INDSPACE) VALUES ('PSAPSR3FACT', 'PSAPSR3FACT')
    ERROR at line 1:
    ORA-00942: table or view does not exist
    INSERT INTO SAPSR3.tsora  (TABSPACE, INDSPACE) VALUES ('PSAPSR3ODS', 'PSAPSR3ODS')
    ERROR at line 1:
    ORA-00942: table or view does not exist
    INSERT INTO SAPSR3.tsora  (TABSPACE, INDSPACE) VALUES ('PSAPSR3700', 'PSAPSR3700')
    ERROR at line 1:
    ORA-00942: table or view does not exist
    INSERT INTO SAPSR3.tsora  (TABSPACE, INDSPACE) VALUES ('PSAPSR3USR', 'PSAPSR3USR')
    ERROR at line 1:
    ORA-00942: table or view does not exist
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SAPINST: End of output of SQL executing program F:\oracle\IIT\102/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2011-02-14, 12:23:42 SAPINST ORACLE stop logging

  • During Table Import got error ORA-12805: parallel query server died unexpectedly

    Hi,
    I tried to import a single table of size 51 GB which normally imported in 5 hours but last time I got following error after 1.5 hours
    ORA-31693: Table data object "SCHEMA"."TABLE_NAME" failed to load/unload and is being skipped due to error:
    ORA-12805: parallel query server died unexpectedly.
    From the "Alert log" file I found the error is
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-24557: error 1114 encountered while handling error 1114; exiting server process
    ORA-01114: IO error writing block to file 622 (block # 373725)
    ORA-27063: number of bytes read/written is incorrect
    IBM AIX RISC System/6000 Error: 28: No space left on device
    Additional information: -1
    Additional information: 253952
    I checked all the table spaces have more then 100GB free space. No idea why this happened.
    Some mount points of the machine is 100% in used where the table spaces created but in table spaces auto extend is off on every data file and each data file have free space.
    Anyone have idea how to resolve this issue.

    Hi,
    Which filesystem is file 622 in - it's quite a lrge numbered file - is it a tempfile or do you really have that many datafiles?
    Regards,
    Harry
    http://dbaharrison.blogspot.com

  • Java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist while invoking a DBAdapter

    I have a WebService which is invoked , the request is routed through the mideator to the DBAdapter .DBAdapter interacts with the database and replies the result.
    I send in the CreditCardNumber in the request and recieve its Status (VALID,INVALID). i get this error every time . i have tried almost every thing to fix this . Please help me with same .
    Below is the complete error stacktrace.
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist . See root exception for the specific exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "942" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Thanks in advance

    Can you please check the following
    a. check the JNDI Configuration. ( check for the value used for XADatasourceName )
    b. check the Data source created for the User.
    c. Incase you have updated the existing JNDI then you need to update the adapter with the New Deployment Plan.
    Thanks,
    Sunil Gopal

  • Panic Error Like ;- DAC-502 ; JBO-27120 ; ORA-00942

    Hi,
    I am developing wizard through simple database connection application and save it and try run it run first time ok and I also inserted 2 record in it. But next day I strat OJD 3.1.1.2 and try to insert record in same project I found bellow error.
    DAC-502: ResultSetInfo: ResultSet ItemMast could not be opened because of problems opening one or more attributes.
    JBO-27120: SQL error during query execution. Statement: SELECT REF AS "REF$",SYS_NC_OID$,ITEM_CD AS "ItemCd",ITEM_DATE AS "ItemDate",OLD_ST_CD AS "OldStCd",ITEM_NM AS "ItemNm",REMARK,COMP_NM AS "CompNm",PROD_GP AS "ProdGp",PROD_IT_GP AS "ProdItGp",ST_ON_HAND AS "StOnHand",RATE,DISC_PER AS "DiscPer",DISC_RS AS "DiscRs",MESU_TYPE AS "MesuType",MRP,MESURE FROM ITEM_MAST
    ORA-00942: table or view does not exist
    null

    Thanks Brain,
    It is working well....
    How to pass status message in Status Bar.
    I created new(open) button and write bellow line in it.
    void itemFileOpen_actionPerformed(ActionEvent e) {
    statusBar .setText(" Need Help " )
    OJD 3.1.1.2 gave me this error = >
    D:\jdev3112\myprojects\ShareDM\DataModule.java
    Error: (456) method setText(java.lang.String) not found in class oracle.dacf.control.swing.StatusBarControl.
    Warning: Deprecated APIs are used. Please recompile with the 'deprecation' option for details.
    null

  • Database startup showing ORA-00942: table or view does not exist in trace

    Hi Friends,
    SunOS 5.10 Generic_137112-06 i86pc i386 i86pc , 64 Bit
    Oracle 10.2.0.1.0
    While I am doing a startup, getting following error.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 3221225472 bytes
    Fixed Size 2122544 bytes
    Variable Size 410819792 bytes
    Database Buffers 2801795072 bytes
    Redo Buffers 6488064 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forcedThe alert log shows the following
    Errors in file /applns/oracle/admin/CTSD1/udump/ctsd1_ora_11486.trc:
    ORA-00942: table or view does not exist
    Error 942 happened during db open, shutting down database
    USER: terminating instance due to error 942
    Instance terminated by USER, pid = 11486
    ORA-1092 signalled during: ALTER DATABASE OPEN...A look at the trace file shows this
    /applns/oracle/admin/CTSD1/udump/ctsd1_ora_11486.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /applns/oracle
    System name: SunOS
    Node name: N890
    Release: 5.10
    Version: Generic_137112-06
    Machine: i86pc
    Instance name: CTSD1
    Redo thread mounted by this instance: 1
    Oracle process number: 23
    Unix process pid: 11486, image: oracle@N890 (TNS V1-V3)
    *** SERVICE NAME:() 2011-02-16 19:24:50.188
    *** SESSION ID:(325.3) 2011-02-16 19:24:50.188
    Successfully allocated 3 recovery slaves
    Using 367 overflow buffers per recovery slave
    Thread 1 checkpoint: logseq 45929, block 2, scn 310788795>cache-low rba: logseq 45929, block 3
    >on-disk rba: logseq 45929, block 52, scn 310788832
    >start recovery at logseq 45929, block 3, scn 0
    ----- Redo read statistics for thread 1 -----
    Read rate (ASYNC): 24Kb in 0.31s => 0.08 Mb/sec
    Total physical reads: 4096Kb
    Longest record: 0Kb, moves: 0/61 (0%)
    Longest LWN: 16Kb, moves: 0/3 (0%), moved: 0Mb
    Last redo scn: 0x0000.128642df (310788831)
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 4/4 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 117/121 = 1.0
    *** 2011-02-16 19:24:50.515
    KCRA: start recovery claims for 4 data blocks
    *** 2011-02-16 19:24:50.515
    KCRA: blocks processed = 4/4, claimed = 4, eliminated = 0
    *** 2011-02-16 19:24:50.516
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 45929 Reading mem 0
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 4/4 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 121/121 = 1.0
    ORA-00942: table or view does not existI have searched MOS and Google, but didn;'t get any relevant results.
    Also flushed my shared_pool as mentioned in (http://www.tanelpoder.com/files/oracle_rowcache.pdf) after mount and started , still no luck
    Any help is appreciated
    Thanks
    SSN

    Hi,
    Thanks.
    Tried log mining, but still couldn't find the culprit. I think now, I have to drop and create this db.Still wondering what might have happened.
    select group#,status from v$log;
        GROUP# STATUS
             1 INACTIVE
             3 INACTIVE
             2 CURRENT
    SQL> select group#,MEMBER from v$logfile where group#=2;
        GROUP#
    MEMBER
             2
    /applns/oracle/oradata/CTSD1/redo02.log
    SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo02.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
    PL/SQL procedure successfully completed.
    SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
    PL/SQL procedure successfully completed.
    SQL> SELECT COUNT (*) FROM   v$logmnr_contents WHERE  operation = 'DDL';
      COUNT(*)
             0
    SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
    PL/SQL procedure successfully completed.
    SQL> select group#,MEMBER from v$logfile where group#=1;
        GROUP#
    MEMBER
             1
    /applns/oracle/oradata/CTSD1/redo01.log
             1
    /applns/oracle/oradata/CTSD1/redolog001.log
    SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo01.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
    PL/SQL procedure successfully completed.
    SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
    PL/SQL procedure successfully completed.
    SQL> SELECT COUNT (*) FROM   v$logmnr_contents WHERE  operation = 'DDL';
      COUNT(*)
             0
    SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
    PL/SQL procedure successfully completed.
    SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redolog001.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
    PL/SQL procedure successfully completed.
    SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
    PL/SQL procedure successfully completed.
    SQL> SELECT COUNT (*) FROM   v$logmnr_contents WHERE  operation = 'DDL';
      COUNT(*)
             0
    SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
    PL/SQL procedure successfully completed.
    SQL> select group#,MEMBER from v$logfile where group#=3
        GROUP#
    MEMBER
             3
    /applns/oracle/oradata/CTSD1/redo03.log
    SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo03.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
    PL/SQL procedure successfully completed.
    SQL>  EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
    PL/SQL procedure successfully completed.
    SQL> SELECT COUNT (*) FROM   v$logmnr_contents WHERE  operation = 'DDL';
      COUNT(*)
             0
    SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
    PL/SQL procedure successfully completed.SSN

  • ERROR ORA-00942: table or view does not exist

    Hi:
    I created a .sql file and a loader file. Running the .sql file with sql * plus Worksheet:
    declare
    gr sdo_georaster;
    begin
    select image into gr from gis.RasterImages where geoid=1 for update;
    sdo_geor.generatePyramid(gr,'resampling=NN');
    update gis.RasterImages set image=gr where geoid=1;
    commit;
    end;
    I trying to create a pyramid,but the error appeared:
    ERROR at line 1:
    ORA-29400: DATA CONTROL ERROR ORA-00942: table or view does not exist
    ORA-06512: &#22312; "MDSYS.SDO_GEOR_INT", line 162
    ORA-06512: &#22312; "MDSYS.SDO_GEOR", line 826
    ORA-06512: &#22312; line 5
    I don't know why?
    Anyone can help me?
    Thanks.

    Hi,
    I think you are executing the select statement for schema X and the table is in the schema srnr.
    And schema X is not having select privilege on the table 'students' present in schema srnr.
    Goto schema srnr.
    Execute the following statement:
    grant select on students to X;
    This will give schema X the privilege to query the table students present in srnr.
    Regards,
    Anupama

  • SQL Error: ORA-00942: table or view does not exist + CX_RS_SQL_ERROR

    HI ,
    we are facing below issue while activating info object xxxxxxxx
    " SQL Error: ORA-00942: table or view does not exist "  and   " CX_RS_SQL_ERROR  "
    can any one help us out to resolve this issue.
    Thanks,
    EDK......

    Hi,
    Check the corrections given in the note 990764:
    Reason and Prerequisites
    Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
    ORA-00942: table or view does not exist
    Fehler in CL_SQL_RESULT_SET  Include NEXT_PACKAGE
    RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
    Solution
    SAP NetWeaver 2004s BI
               Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
    In urgent cases you can implement the correction instructions.
    The correction instructions contain the tightened inspection for characteristics.
    Regards,
    Anil Kumar Sharma .P

  • Error rendering element. Exception: ORA-00942: table or view does not exist

    Guru,
    We are maintaining 10 internal Database through OEM 10g and using seesded reports.
    When we try to create simple custom reports against one of the Target database , its failing with following error message ,
    Query : select * from v$database
    Error rendering element.
    Exception: ORA-00942: table or view does not exist
    select * from dual & v$session working ( But query execution happeniing from Reposistory Database not from Target instance  )
    Note:
    I have reviewed thred "getting ORA-00942 while running report in GC"
    Please give some light .
    Regards,
    Raju

    This is an EM related question so I would suggest you post in the appropriate space "Enterprise Manager" -- https://forums.oracle.com/community/developer/english/enterprise_management/enterprise_manager/enterprise_manager_6
    You may also review (In Grid Control 10.2, Creating a Report to Query 'V$SESSION 'Fails: 'Error Rendering Element. Exception: ORA-00942 Table Or View Does Not Exist' (Doc ID 356755.1)) and implement the solution for v$database
    Thanks,
    Hussein

  • Error while deploying map: ORA-00942 Table or view does not exist

    Hi OWB experts,
    I'm having yet another problem with OWB, this time when I try to deploy a mapping I get this error:
    ORA-06550: line 59, column 3:
    PL/SQL: ORA-00942: table or view does not exist
    DIM_01_ESTCON_MAP
    ORA-06550: line 93, column 3:
    PL/SQL: SQL Statement ignored
    If I open the package that OWB created I see the errors:
    CURSOR "DEDUP_SRC_0_IN2_c" IS
    SELECT
    "DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_ID" "ESTADOCONEXION_ID",
    "DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_COD_ESTCON" "ESTADOCONEXION_COD_ESTCON",
    "DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_DESC_ESTCON" "ESTADOCONEXION_DESC_ESTCON",
    "DEDUP_INPUT_SUBQUERY2$1"."STANDARD_TOTAL_COD_TTL" "STANDARD_TOTAL_COD_TTL"
    FROM
    (SELECT
    DISTINCT
    "DIM_01_ESTCON_MAP"."GET_CONST_CA_0_ESTADOCO" "ESTADOCONEXION_ID",
    "ESTADOS"."ESTADO" "ESTADOCONEXION_COD_ESTCON",
    "ESTADOS"."DESC_EST" "ESTADOCONEXION_DESC_ESTCON",
    "DIM_01_ESTCON_MAP"."GET_TOTAL_C_0_TTLID" "STANDARD_TOTAL_COD_TTL"
    FROM
    "CONSULTA"."ESTADOS"@"PROD@AYADEV_LOCATION" "ESTADOS"
    WHERE
    ( estado LIKE 'EC%' )) "DEDUP_INPUT_SUBQUERY2$1";
    Where AYADEV_LOCATION points to the module/schema/location where my source data is.
    Now, I have defined three modules:
    SOURCE, where I defined the tables and other objects from the original database (source data)
    STAGE, where I am performing all the transformations; here I defined all the maps
    TARGET, this holds the dimensions and fact tables.
    Now all three modules point to different databases. The dblink for AYADEV_LOCATION has been created and shouldn't present any problems. The username that I'm using to log on to the source database is current and I can connect to it through SQL+ or any other program (TOAD, SQLDeveloper).
    What could be happening here? I'm using OWB 10g R2, with Oracle DB 10g R2.
    I'd really appreciate any help you could provide.
    Best Regards,
    --Osvaldo
    [osantos]

    Hi,
    I'm still having problems but I found out why these tables are returning errors. The username I've been given by the DBA to connect to the database is CONSULTA, but this user is only for querying purposes, the actual objects reside on a differente schema, of course, which is PROD. So the line:
    "CONSULTA"."ESTADOS"@"PROD@AYADEV_LOCATION" "ESTADOS"
    raises an exception because the table ESTADOS is not located on that schema, but on PROD. If I query the table from SQL Plus with:
    SELECT *
    FROM [email protected]@AYADEV_LOCATION
    then there's no problem at all.
    Why is this? How do I instruct OWB to point to the correct schema or to avoind fully qualifying the table name?
    Please help me, I'm kind of confused here.
    Best Regards,
    --oswaldo.
    [osantos]

  • Error handling function: ORA-20001: get_dbms_sql_cursor error:ORA-00942: table or view does not exist  is not trapped. Why?

    Why APEX 4.1 Error handling function does not trap  the error of missing table?
    Say, I create simple application with single IR report page and I also assign standard simple error handling function.
    Function works perfectly, except but this case:
    If I just drop a table used by report page and then refresh the page I am getting usual APEX error message:
    ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
    and error handling function is not invoked at all.
    Is this a feature or a bug?

    Hi,
    Check the corrections given in the note 990764:
    Reason and Prerequisites
    Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
    ORA-00942: table or view does not exist
    Fehler in CL_SQL_RESULT_SET  Include NEXT_PACKAGE
    RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
    Solution
    SAP NetWeaver 2004s BI
               Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
    In urgent cases you can implement the correction instructions.
    The correction instructions contain the tightened inspection for characteristics.
    Regards,
    Anil Kumar Sharma .P

Maybe you are looking for