Compile error: sys.v$ sess_time_model table or view does not exist

If I create the following procedure with DB link to lnk database (Oracle 10.2.0.4, Solaris)

create or replace procedure xxx
is
     tmp number;
begin
     select     max(value)
     into     tmp
     from     sys.v$sess_time_model@lnk
     where     stat_name = 'DB CPU';
end;
/
the procedure compiles without error, and I can call the procedure.


If I connect to the system 'lnk' with DB link user name, I can't create the procedure directly in the database:
SQL> create or replace procedure xxx
  2  is
  3   tmp number;
  4  begin
  5   select max(value)
  6   into tmp
  7   from sys.v_$sess_time_model
  8   where stat_name = 'DB CPU';
  9  end;
 10  /

warning: procedure created with compilation errors.

SQL> 
SQL> show err
Fehler bei PROCEDURE XXX:

LINE/COL ERROR
-------- -----------------------------------------------------------------
5/2      PL/SQL: SQL Statement ignored
7/11     PL/SQL: ORA-00942: table or view does not exist

The same error comes up if I change line 7 to
  7   from v_$sess_time_model
  7   from v$sess_time_model
  7   from sys.v$sess_time_model
  
  
  
SQL> select count(*) from sys.v_$sess_time_model;

  COUNT(*)
----------
       418  
Why can't I just create the procedure in the database target?

It seems that you grant of role based on sys.v_$ sess_time_model. You can check it using 'The VALUE NONE ROLE' and then try to choose.
The direct grant of privilege is required for Pl/SQL. For an illustration more Re: compile errors

Tags: Database

Similar Questions

  • Director of BI error when updating Rowcount: table or view does not exist

    I use BI administrator 11g. After you create a new repository and import of metadata, I brought the physical model in the MDB layer. When I tried to update the number of lines for tables in the physical layer, I get:

    There was an error while updating the number of lines for '< instance >'... "" schema of <>. "' < tablename > '.
    [17011 nQSError] Execution of the SQL statement failed.
    [nQSError 17001] Oracle 942 error code, message: ORA-00942: table or view does not exist to the call of the OIC OCIStmtExecute: select count (*) < TableName >.

    I created the connection during the import process pool and tables have been found at the time. But once the import is complete I never update rank leaders. I have access to all the tables in question via the user account in the connection pool.

    Anyone have any ideas?

    Thank you
    Ken

    You must check "require fully qualified name checkbox in the connection pool properties. This is necessary when you use the username not owner to access the images database.

  • sys.dba_constraints question, table or view does not exist error

    Hi all

    I am a 'rahul' on a user database "MR12DEV" with a lot of privileges, one of which is 'SELECT ANY TABLE' and I'm trying to return a table IE 'sys.dba_constraints', the question is when I am trying to compile my code, oracle is back throwing an error indicating that the table or view exists However, I'm using Toad and when I select "sys.dba_constraints" and do a F4 on it, I'm able to get a pop up that contains the column names and the pop-up displays sys.dba_constraints and when I click on the data tab, I am able to see its data, could any1 further suggests what could be the reason why I'm not able to see the table of sys.dba_constraints Please help.

    Thank you
    Rahul

    Hello Rahul,

    When you refer to a table or view in a procedure, function or a package, you must have a direct grant to the user and not by a role.

    In your case:

    GRANT SELECT ON sys.dba_constraints TO rahul;
    

    should work.

    Kind regards.
    Al

    Published by: Alberto Faenza November 14, 2012 10:16

  • ORA-00942: table or view does not exist

    Hello world!!!

    I am faced with an error when I run a workflow mapping in Informatica for OLIVIER SDE with peoplesoft as a source...

    It comes to getting the error message

    Gravity node Thread Message Code Message Timestamp

    ERROR 05/08/2013 13:44:27 node01_hrbiappd.cha.tva.gov READER_1_1_1 PR_18012 SQL Error]

    ORA-00942: table or view does not exist

    Database driver error...

    Function name: run

    The problem is when I run the same Sql query in SQL Developer, it works fine, but it does not work in the map.

    Can anyone help me please with this error.

    Thanks in advance!

    Make sure that you point the PB even what dac / informatica is pointed.

    ~ http://cool-bi.com

  • How to handle the ORA-00942: table or view does not exist

    HII All,

    I'm trying to delete a table dynamically independently of its existence in a procedure. Sound fine when the table exists, but when the table does not work I am facing following error
     ORA-00942: table or view does not exist
    I've made use of pragma exception_init and modified my code like below
    Create or replace Procedure sp_FSASA_FEEDUPLOAD_process
              (
               p_test_dir               in     varchar2,
               p_feed_file_name     in     varchar2
              )
    is
              l_exttable_str varchar2(32000) ;
              
              l_log_file constant varchar2(200) := 'logfile_rgh.log';
              
              l_table_doesnt_exist Exception;
              
              pragma exception_init(l_table_doesnt_exist,-00492);
              
              
              
    Begin
              
              Begin
                   execute immediate 'drop table FSASA_FEEDUPLOAD_EXT purge' ;
              Exception
                        when l_table_doesnt_exist then
                             null;
              
              End;
              
              
              
              
              l_exttable_str := 'Create table FSASA_FEEDUPLOAD_EXT ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||' Category_No                    varchar2(1), ';
              l_exttable_str := l_exttable_str||' Financial_Category          varchar2(300), ';
              l_exttable_str := l_exttable_str||' GFCID                         number, ';
              l_exttable_str := l_exttable_str||' Balance                         number(34,14), ';
              l_exttable_str := l_exttable_str||' Refernce_no                    varchar2(20), ';
              l_exttable_str := l_exttable_str||' Account_no                    varchar2(20), ';
              l_exttable_str := l_exttable_str||' ce_trans_id                    varchar2(20) ';
              l_exttable_str := l_exttable_str||' ) ';
              l_exttable_str := l_exttable_str||' Organization external ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||' type                    oracle_loader ';
              l_exttable_str := l_exttable_str||' default directory      '||p_test_dir;
              l_exttable_str := l_exttable_str||' Access parameters ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||'  records delimited by newline ';
              l_exttable_str := l_exttable_str||'BADFILE '||q'[']'||p_test_dir||q'[']'||':'||q'[']'||'feed.bad '||q'[']' ;
              l_exttable_str := l_exttable_str||'LOGFILE '||q'[']'||p_test_dir||q'[']'||':'||q'[']'||':feed.log '||q'[']' ;
              l_exttable_str := l_exttable_str||q'[FIELDS TERMINATED BY X'09']';
              l_exttable_str := l_exttable_str||' missing field values are null ';
              l_exttable_str := l_exttable_str||')location('||q'[']'||p_feed_file_name||q'[']';
              l_exttable_str := l_exttable_str||')' ;
              l_exttable_str := l_exttable_str||' )Reject limit unlimited ';
              
              dbg_print(l_log_file,'l_exttable_str : '||l_exttable_str);
    
              
              execute immediate l_exttable_str;
    
    
    End;
    But I am still unable to get rid of him. Pls help me.

    (1) I need the drop because I need to immediately create the table with the name of different file and different path.

    (2) the last thing I do not do is to check the name of the table in the USER_OBJECTS and then drop.

    (3) suggest that create an external table dynamically as a correct approach or not.

    (4) up to now, we use utl_file for reading stream file but I am much interested to use the concept of EXTERNAL TABLE.

    (5) as the file name and the path is changed, I need to create my external table during execution.

    Please suggest me that I can change my file name and the path when running

    Don't drop and re-create it, just create once as DDL not in code and then change it to point to a new file.

    External table

  • Procedure compilation error: Table or view does not exist

    I have privilege granted to me on some tables, SELECTION that I found thanks to view user_tab_privs.

    Now, I wrote a stored procedure that attempts to insert into a table that I created with the data of a query based on joins on tables, sure I have the right to SELECT.

    But when I compile my inside, it shows errors:

    • PL/SQL: ORA-00942: table or view does not exist

    What could be the problem?  Were breaking my head.

    Can someone help me please?

    (

    I found ask Tom & amp; quot; Procedures, roles and grant & amp; quot; that questioning the view of user_tab_privs with the DEALER = < me > gives the list of the privileges that have been granted directly to the me.

    If this is the case, I seem to have DIRECT subsidies on the tables, I've used in my procedure.

    Where is my confusion).

    **************************************CODE*********************

    CREATE OR REPLACE PROCEDURE USAGE_MODULE_INSERT
    IS
    CURSOR C1
    IS
    SELECT CALL_KEY IN THE DUMMY_DATE;

    VDATE_KEY C1. TYPE % CALL_KEY;

    BEGIN
    OPEN C1;
    LOOP
    FETCH C1 IN VDATE_KEY;
    WHEN EXIT C1% NOTFOUND;

    INSERT INTO TABLE_USAGE_MODULE (VNUMBER, START_DATE_KEY, POSTPAID_ACC_FLAG, DES_NWK_NAME, ONOFF_KEY, TEMPS_REEL, CHARGED_TIME, CHARGED_VOLUME, CALLS)
    (
    SELECT THE PDF FILE. VNUMBER,
    C_USG. START_DATE_KEY,
    C_USG. POSTPAID_ACC_FLAG,
    DES_NWK. DES_NWK_NAME,
    ONNET_OFFNET. ONOFF_KEY,
    SUM (C_USG. TEMPS_REEL),
    SUM (C_USG. CHARGED_TIME),
    SUM (C_USG. CHARGED_VOLUME),
    COUNT (CASE WHEN C_USG. TYPE_KEY = 15 THEN 1 0 OTHERWISE END)
    OF AM_WHM. CAL_USG C_USG
    JOIN INTERNAL AM_WHM. DES_NETWORK DES_NWK
    ON DES_NWK. DES_NWK_KEY = C_USG. DES_NWK_KEY
    JOIN INTERNAL AM_WHM. D_L_NUMBER PDF
    THE SUBJECT OF THE PDF FORMAT. L_NUMBER_KEY = C_USG. L_NUMBER_KEY
    WHERE C_USG. START_DATE_KEY = VDATE_KEY
    GROUP OF PDF. VNUMBER, C_USG. START_DATE_KEY, C_USG. POSTPAID_ACC_FLAG, DES_NWK. DES_NWK_NAME, ONNET_OFFNET. ONOFF_KEY

    );

    END LOOP;
    CLOSE C1;

    END;

    Note: Mark USER_TAB_PRIVS with the DEALER = < > says that I have the privilege of SELECT on all tables that I used in my procedure.

    Mark USER_SYS_PRIVS shows a single line like "UNLIMITED TABLESPACE"

    ******************************************************

    Post edited by: 3cd7ad85-b56c-4a9c-ae91-83be047aac2c Code of procedure included which gives a compile error

    In order to access the table in a procedure, select must have been granted to the user directly and not through a role.

  • ORA-06512: at "SYS." DBMS_XMLGEN", (ORA-00942: table or view does not exist)

    Hey guys, it's Xev.

    I decide to use SQL and XML and it works in a scenario, but in another scenario, is not.

    Here's the Code, I'm passing to two variables, first of all, I spend in the table table_name, and then I spend in the schema.

    If I connected it with "user" and that it seeks it's own pattern, he found the results, as for example, but if I try to run this code while not

    connected to the same user I'm looking for more, I get this error.

    ORA-19202: an error has occurred in the processing of XML

    ORA-00942: table or view does not exist

    ORA-06512: at "SYS." DBMS_XMLGEN", line 288

    ORA-06512: at line 1

    19202 00000 - "an error has occurred in the treatment of XML %s.

    * Cause: An error occurred during the processing of the XML function

    * Action: Check the given error message and resolve the problem appropriate

    /*-------------------------------------------------------------------------------

    This code works only you are connected to the user you are looking on.

    But if you're looking for a different user tables, it is kicking up and gives the above XML error...

    */

    SET SERVEROUTPUT ON

    exec DBMS_OUTPUT. ENABLE (1000000);

    Search_string VAR VARCHAR2 (28)

    EXEC: search_string: = ' ^ [0-9]{3}-[0-9]{2}-[0-9]{4}$']

    COLUMN "Keyword" FORMAT A28

    COLUMN 'Table' FORMAT A9

    COLUMN ' column value / "FORMAT A50

    SELECT DISTINCT SUBSTR (: search_string, 1: 28) "keyword."

    SUBSTR (table_name, 1, 14) "table."

    SUBSTR (t.column_value.getstringval (), 1, 50) ' / value of the column.

    OF dba_tab_cols.

    -where owner = ('& SCHEMA_NAME')

    TABLE

    (XMLSEQUENCE

    (DBMS_XMLGEN. GETXMLTYPE

    ("SELECT" | column_name |)

    'FROM ' | table_name |

    "WHERE REGEXP_LIKE.

    (' | column_name |) ','''

    || : search_string. ''')'

    () .extract (' LINES/rowset / * ""))) t

    -WHERE table_name IN ("FIND_TEST")

    WHERE table_name = upper ('& table_name')

    AND the OWNER = upper ('& SCHEMA_NAME')

    ORDER BY "Table".

    /

    Can someone please explain how works (DBMS_XMLGEN) and why it is throwing this error?

    Thank you

    Xev.

    It has nothing to do with DBMS_XMLGEN. GETXMLTYPE. It simply means the user running your SQL has no select privileges on the table & SCHEMA_NAME. & TABLE_NAME.

    SY.

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

    We use the database to Oracle 10 g on Linux platform.

    When executing the following code, I get the following error:
    DECLARE
       v_result   NUMBER := NULL;
    BEGIN
       SELECT 1
         INTO v_result
         FROM ALL_TABLES
        WHERE TABLE_NAME = 'ERROR_AUDIT' AND OWNER = 'TEST_OWNER';
    
        DELETE FROM error_audit;
        COMMIT;
    Exception when no_data_found then 
          EXECUTE IMMEDIATE ('CREATE TABLE error_audit
                              (
                                 SID NUMBER NOT NULL,
                                 ID NUMBER NOT NULL,
                                 ora_number VARCHAR2(30 CHAR),
                                 description VARCHAR2(1000 CHAR),
                                 status VARCHAR2(1 CHAR),
                                 created_by_user VARCHAR2(30 CHAR),
                                 created_on_date DATE,
                                 modified_by_user VARCHAR2(30 CHAR),
                                 modified_on_date DATE,
                                 remarks VARCHAR2(2000 CHAR)
                              )'
                            );
    END;
    /
    Error:
        DELETE FROM error_audit;
                    *
    ERROR at line 9:
    ORA-06550: line 9, column 17:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 9, column 5:
    PL/SQL: SQL Statement ignored
    But if I comment out the Delete statement, and the code works correctly.
    --DELETE FROM error_audit;
    I don't understand the reason for this error. Kindly help.

    Your code will be get compiled before running...

    You can try the code below... But what is your real need?

    DECLARE
       v_result   NUMBER := NULL;
    BEGIN
       SELECT 1
         INTO v_result
         FROM ALL_TABLES
        WHERE TABLE_NAME = 'ERROR_AUDIT' AND OWNER = 'TEST_OWNER';
    
         EXECUTE IMMEDIATE 'DELETE FROM error_audit';
        COMMIT;
    Exception when no_data_found then
          EXECUTE IMMEDIATE ('CREATE TABLE error_audit
                              (
                                 SID NUMBER NOT NULL,
                                 ID NUMBER NOT NULL,
                                 ora_number VARCHAR2(30 CHAR),
                                 description VARCHAR2(1000 CHAR),
                                 status VARCHAR2(1 CHAR),
                                 created_by_user VARCHAR2(30 CHAR),
                                 created_on_date DATE,
                                 modified_by_user VARCHAR2(30 CHAR),
                                 modified_on_date DATE,
                                 remarks VARCHAR2(2000 CHAR)
                              )'
                            );
    END;
    / 
    

    Published by: JAC on Sep 4, 2012 11:39

  • Error (20.22): PL/SQL: ORA-00942: table or view does not exist

    I get currently getting an error when I try and insert into a table of a different pattern of my stored procedure:
    Error (20.22): PL/SQL: ORA-00942: table or view does not exist

    I am explicitly calling the table with the name of the schema that is infront

    INSERT INTO SAPSR3. ZTREC_NAME_TYPE
    (
    MASTER_ID,
    NAME_TYPE,
    FAMILY_NAME,
    FIRST NAME,
    MIDDLE_NAME,
    TITLE
    )
    VALUES
    (
    In_MasterID,
    In_NameType,
    In_FamilyName,
    In_FirstName,
    In_MiddleName,
    In_Title
    );

    Only, I get this error when I try to compile my stored procedure. If I try this insert not within a stored procedure (for example, an empty script) it works perfectly.

    Can someone tell me what Im doing wrong?

    Thank you.

    Hello

    Looks like you (the owner of the procedure) have privileges on that table only through a role.
    Roles do not count in the stored procedures created with AUTHID OWNER (which is the default).

    Or the other
    (1) user SAPSR3 have the privileges needed directly at you (or public), or
    (2) change the procedure so that it runs with the privileges of the caller, adding AUTHID CURRENT_USER after the list of arguments, but before the keyword IS (AS os) like this:

    CREATE OR REPLACE PROCEDURE     foo
    (     x     IN     NUMBER
    )
    AUTHID CURRENT_USER
    IS ...
    
  • DBUM target Recon - java.sql.SQLSyntaxErrorException error: ORA-00942: table or view does not exist

    Hello

    When I run DBUM Targer user reconciliation (recon Filtered) I get the error in the log below.

    We have created an account with privileges below target. y at - it all permisssions more necessary for execution of the reconciliation of the target.

    [2015-10 - 09T 10: 47:45.717 - 07:00] [oimext_server1] [NOTIFICATION] [] [oracle.iam.scheduler.vo] [tid: OIMQuartzScheduler_Worker-4] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18393] [APP: IOM #11.1.2.0.0] details executeJob DBUM Oracle user target reconciliation method

    [2015-10 - 09T 10: 47:45.842 - 07:00] [oimext_server1] [WARNING] [] [ORG. IDENTITYCONNECTORS. DBUM. DBUMCONNECTOR] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000 - 1:18558 0000000000000004,] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.DBUMConnector: parseConnectionProperties: no connection properties

    [2015-10 - 09T 10: 47:45.878 - 07:00] [oimext_server1] [WARNING] [] [ORG. IDENTITYCONNECTORS. DBUM. DBUMCONNECTOR] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18558] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.DBUMConnector: dropUnusedSearchAttributes: fall tmpQuota

    [2015-10 - 09T 10: 47:45.879 - 07:00] [oimext_server1] [WARNING] [] [ORG. IDENTITYCONNECTORS. DBUM. DBUMCONNECTOR] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18558] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.DBUMConnector: dropUnusedSearchAttributes: fall tmpQuota

    [2015-10 - 09T 10: 47:45.881 - 07:00] [oimext_server1] [ERROR] [] [ORG. IDENTITYCONNECTORS. DBUM. SQLEXECUTIONHANDLER] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18558] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.SQLExecutionHandler: executeAccountSearch: error when searching for user records [[ ]]

    java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)

    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)

    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)

    at org.identityconnectors.dbum.SQLExecutionHandler.searchAccounts(SQLExecutionHandler.java:287)

    at org.identityconnectors.dbum.SQLExecutionHandler.executeAccountSearch(SQLExecutionHandler.java:95)

    at org.identityconnectors.dbum.DBUMConnector.executeQuery(DBUMConnector.java:199)

    at org.identityconnectors.dbum.DBUMConnector.executeQuery(DBUMConnector.java:74)

    at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.rawSearch(SearchImpl.java:118)

    at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.search(SearchImpl.java:82)

    at sun.reflect.GeneratedMethodAccessor5776.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)

    to com.sun.proxy. $Proxy575.search (unknown Source)

    at sun.reflect.GeneratedMethodAccessor5776.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:107)

    to com.sun.proxy. $Proxy575.search (unknown Source)

    at sun.reflect.GeneratedMethodAccessor5776.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    to org.identityconnectors.framework.impl.api.BufferedResultsProxy$ BufferedResultsHandler.run (BufferedResultsProxy.java:162)

    ]]

    [2015-10 - 09T 10: 47:45.892 - 07:00] [oimext_server1] [NOTIFICATION] [] [oracle.iam.scheduler.impl.quartz] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18393] [APP: #11.1.2.0.0 IOM] Job listener, Job was performed QuartzJobListener.jobWasExecuted Description DEFAULT null FullName. DBUM Oracle DBUM Oracle target reconciliation user name reconciliation target user

    [2015-10 - 09T 10: 47:46.116 - 07:00] [oimext_server1] [ERROR] [] [] [tid: [ASSETS].] [ExecuteThread: '6' for queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206 :-8000-0000000000010 c 79, 0] [APP: IOM #11.1.2.0.0] [IDDM: 0000L1Dd4upEoIs6wjyWMG1M5jJP00000S] could not communicate with one of the server access set up, make sure it is running.

    [2015-10 - 09T 10: 47:46.517 - 07:00] [oimext_server1] [ERROR] [] [] [tid: Watcher] [username: < anonymous >] [ecid: 0000L19f77uEoIs6wjyWMG1M5jJP000000, 1:18404] error receive challenge server hacked

    [2015-10 - 09T 10: 47:49.271 - 07:00] [oimext_server1] [ERROR] [] [] [tid: [ASSETS].] [ExecuteThread: '12' to the queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206:-8000-0000000000010c7c, 0] [APP: IOM #11.1.2.0.0] [IDDM: 0000L1Dd4upEoIs6wjyWMG1M5jJP00000S] could not communicate with one of the server access set up, make sure it is running.

    [2015-10 - 09T 10: 47:49.718 - 07:00] [oimext_server1] [ERROR] [] [] [tid: [ASSETS].] [ExecuteThread: '21' for queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206:-8000-0000000000010c7e, 0] [APP: IOM #11.1.2.0.0] [IDDM: 0000L1Dd4upEoIs6wjyWMG1M5jJP00000S] could not communicate with one of the server access set up, make sure it is running.

    Thank you

    After changing the logging level for 32 track, filled with the SQL log file.

    The application consisted of a JOIN with two or three tables table (dba_users and dba_quota_tablespaces).

    After providing privileges select on the quota table, I was able to learn from the user.

    Thank you

  • OBIEE 11 g: odd error in report ORA-00942: table or view does not exist

    Hi gurus,

    I get the following error if I pull one or more columns in a table of facts

    Error details

    Error codes: OPR4ONWY:U9IM8TAC:OI2DL65P

    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle error code: 942, message: ORA-00942: table or view does not exist to the call of the OCIStmtExecute OIC. [nQSError: 17010] Prepare the SQL statement failed. (HY000)

    SQL published: SELECT 0 s_0, 'XXXXXX '. "" "" Fact_FCT_REG_XXXXXXX_XXXXXX '. "" S_1 N_ACCT_BALANCE""XXXXXX"FETCH FIRST 4000001 LINES ONLY

    Is the weird part, when I take the physical sql and run it against the same user account. It is fetching result. He also works in a different environment, but throwing error in our test environment, both environments are well established for a long time to return, and many projects are developed by many different groups.

    I really need expertise help to break this question. Given that I do not get no idea why his mistake to throw into the application layer?

    Any help will be much appreciated.

    Thanks in advance

    Concerning

    Nathalie

    Save nqquery.log which connection pool is used to send the query to the DB. Then check the configuration of the Connection Pool to see what user credentials are used to connect to the database, to which database (DSN), and if the table owner prefix is added to the SQL.

    ORA-00942 can often be due to the existing table, but the user trying to access him confer no rights. Rather than say 'no permission', Oracle will say 'does not exist.

  • table or view does not exist error when you try to generate tables of database online.

    Hello

    I use Jdeveloper 12 c and is trying to generate tables of a database in offline mode, I created, for a connection of database online. The error message that appears is:

    java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist.

    More information:

    The database I use is Oracle11g Database Release 2. And I get a warning saying that the 12 c functionality will be lost when generating an 11 g database.

    In addition, the problem occurs only when I have foreign key constraints in my table. All the other tables that have no foreign key constraints generates very well.

    Any ideas why this happens?

    Thank you!

    Instead of directly generating the DB, generate a sql script. Then, you see the generated statement and can run the script using a db sql worksheet.

    If you get the error, you can view the script here.

    Timo

  • Fail to load the ODI - ODI-17517: error in the interpretation of the task. ORA-00942: table or view does not exist

    Hi all

    Try to run the loads on the test environment and faced this exception. Guidance on what could be the cause?

    A functioning test environment code development. All models have been migrated using the synonym and the project had to be imported using Mode Duplication.

    The project had two dimension and makes loads... Dimensions has been properly run, its only that all the facts are a failure...

    ODI-1217: CM_PKG_CF_TEST Session (1494702) fails with return code 7000.

    Caused by: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: error in the interpretation of the task.

    Task: 6

    java.lang.Exception: the application script threw an exception: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    OSB Info: get the joining to the line level columns: column 0: columnNo

    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)

    at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1889)

    to oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$ 2.doAction(StartScenRequestProcessor.java:580)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)

    to oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$ StartScenTask.doExecute (StartScenRequestProcessor.java:1066)

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)

    at java.lang.Thread.run(Thread.java:682)

    Caused by: org.apache.bsf.BSFException: the application script threw an exception: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    OSB Info: get the joining to the line level columns: column 0: columnNo

    at bsh.util.BeanShellBSFEngine.eval (unknown Source)

    at bsh.util.BeanShellBSFEngine.exec (unknown Source)

    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)

    ... 11 more

    -< code printed here >-

    at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:738)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1889)

    to oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$ 2.doAction(StartScenRequestProcessor.java:580)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)

    to oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$ StartScenTask.doExecute (StartScenRequestProcessor.java:1066)

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)

    at java.lang.Thread.run(Thread.java:682)

    An analysis more thrust, found that Repo work had no appropriate grants.

    After adding, it solved the problem.

  • Error (301,28): PL/SQL: ORA-00942: table or view does not exist

    Hi all

    11.2.0.3.10

    AIX6

    I was installing store_procedures on our PROD several times, and they are successful. This stored_procedures are created by developers and once tested on DEV & UAT, they are transferred to the PROD through me.

    But this time I install a new SP, but I got error > Error (301,28): PL/SQL: ORA-00942: table or view does not exist

    Even if the synonym. The owner of the schema of the SP has grant select on the table and synonym of created. Why not MS can see this synonym?

    Is there something that I missed?

    Help, please... I'm going crazy

    Thank you all,

    MK

    Since there is only one user in your role, so I'll suggest to directly grant you the user rather than role - it's the easiest and simplest account according to your needs. The roles are best used to organize all of the users. If ever it is necessary to use roles (i.e. multiple users/schemas in a role) then, I think, you can play with AUTHID clause creating blocks.

  • How to create Error: table or view does not exist - please help

    I'm learning to oracle for my new assignment, I come from sql server environment, so I know concept of procedures and functions but found pattern concept is different here. In any case, I'm trying to create procedure in which I'm trying to insert records into a table from another table. Here is my code:

    create or replace 
    PROCEDURE UDPINSERTEMPLOYEE AS 
    BEGIN
     INSERT INTO employee(empid,lastname,firstname) select employee_id, Last_name, First_name FROM HR.employees;
    END UDP_INSERTEMPLOYEE;
    
    

    And I got these errors:

    I've tried INSERT INTO employee (empid, lastname, firstname) values (1, 'Last Test', 'First Test') and it works fine.

    What wrong with my procedure?  Help, please.

    Thank you.

    Hello

    Unless this procedure is located in the HR schema, it needs SELECT on HR.employees table privileges.

    Say the procedure is located in the FUBAR scheme (in other words, connect you to Oracle as FUBAR to create).

    To grant privileges on the table HR.employees to FUBAR. Then connect like HR and say:

    GRANT SELECT ON employees to fubar;

    or, if you want everyone on your system to be able to query this table

    Employees of SELECT GRANT IT to THE PUBLIC.

    If you're not allowed to do this, ask your DBA to do.  All the tables in the HR schema provided by Oracle were put there by Oracle to demonstrate things in the documentation.  There is nothing secret or dangerous about reading anything in this scheme.  On my system PUBLIC has privileges SELECT on all tables in the HR schema.

    If the employee (plural) table is not in the same schema as the procedure (e.g., FUBAR), so you must INSERT privileges on the table, too.

    Oracle doesn't have a way to grant privileges on all the tables in a schema; You must grant privileges on each table, one at a time.

Maybe you are looking for