BI Administrator Error When Updating Rowcount: table or view does not exist

I am using BI Administrator 11g. After creating a new repository and importing metadata, I brought the Physical model into the BMM layer. When I tried to update the rowcount for the tables in the physical layer, I get:
There was an error while updating row count for "<instance>".."<schema>"."<tablename>"
[nQSError 17011] SQL statement execution failed.
[nQSError 17001] Oracle error code 942, message: ORA-00942: table or view does not exist at OCI call OCIStmtExecute: select count(*) from <tablename>.
I created the connection pool during the import process and the tables were found at that time. But after the import is complete I can never update the row counts. I do have access to all the tables in question via the user account in the connection pool.
Anyone have any ideas?
Thanks,
Ken

You need to check "Require Fully Qualified Name check box in connection pool properties. This is needed when you are using non owner user name for accessing database shemas.

Similar Messages

  • Process chain failure SQL ERROR 942 ORA-00942:table or view does not exist

    HI all,
    We have a proces chain with 'ceate index' process type and got failed with an error as follows......
    SQL ERROR 942 ORA-00942:table or view does not exist
    Plz can anyone give solution for this error.
    SATISH.

    Hey Satish,
    Please refer to this thread:
    BRCONNECT fails with SQL error -942 at location ora_vers_get-1
    I am sure the solution there should solve your problem. There are various other discussions about this error in the forum, I suggest you look through them for better understanding and additional material.
    Cheers!!!
    Manu.

  • Error in Upload file-table or view does not exist-wwv_flow_file_objects$

    Hi,
    i am trying to upload a file and then store the contents of the file into one of my tables in the schema.I wrote one package for uploading the file and then a process to insert each record in the uploaded file to the table in my schema.When i try compiling the package it gives an error.
    PL/SQL: ORA-00942: table or view does not exist
    The name of the table is wwv_flow_file_objects$
    The package is as follows-
    CREATE OR REPLACE PACKAGE BODY Text_File_Pkg AS
    FUNCTION get_file_lines (
    p_file_name IN VARCHAR2,
    p_lines IN OUT line_tab_type,
    p_rec_sep IN VARCHAR2 DEFAULT dos_new_line
    ) RETURN INTEGER
    IS
    v_binary_file BLOB;
    v_text_file CLOB;
    v_dest_offset INTEGER := 1;
    v_src_offset INTEGER := 1;
    v_lang_context INTEGER := DBMS_LOB.default_lang_ctx;
    v_warning INTEGER;
    v_rec_sep_len CONSTANT INTEGER := LENGTH(p_rec_sep);
    v_start_pos INTEGER := 1;
    v_end_pos INTEGER := 1;
    v_line_num INTEGER := 1;
    v_file_length INTEGER;
    BEGIN
    IF p_file_name IS NULL
    THEN
    RETURN 1;
    END IF;
    IF p_rec_sep IS NULL
    THEN
    RETURN 2;
    END IF;
    SELECT blob_content
    INTO v_binary_file
    FROM wwv_flow_file_objects$
    WHERE NAME = p_file_name
    AND (mime_type = 'text/plain' OR mime_type = 'application/octet-stream')
    AND doc_size &gt; 0;
    DBMS_LOB.createtemporary(v_text_file, TRUE);
    DBMS_LOB.converttoclob(v_text_file, v_binary_file,
    DBMS_LOB.lobmaxsize, v_dest_offset,
    v_src_offset, DBMS_LOB.default_csid,
    v_lang_context, v_warning);
    IF v_warning = DBMS_LOB.warn_inconvertible_char
    THEN
    -- Unable to convert file.
    RETURN 3;
    END IF;
    v_file_length := DBMS_LOB.getlength(v_text_file);
    LOOP
    EXIT WHEN v_start_pos &gt; v_file_length;
    v_end_pos := DBMS_LOB.INSTR(v_text_file, p_rec_sep, v_start_pos);
    IF v_end_pos = 0
    THEN
    v_end_pos := v_file_length + 1;
    END IF;
    IF (v_end_pos - v_start_pos) &gt; 4000
    THEN
    -- Line exceeds 4000 characters.
    RETURN 4;
    END IF;
    p_lines(v_line_num) := DBMS_LOB.SUBSTR(v_text_file, v_end_pos - v_start_pos, v_start_pos);
    v_line_num := v_line_num + 1;
    v_start_pos := v_end_pos + v_rec_sep_len;
    END LOOP;
    RETURN 0;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    RETURN 5;
    END get_file_lines;
    END Text_File_Pkg;
    Any suggestions.
    Many Thanks,
    Sanjai

    Hi,
    i am trying to upload a file and then store the contents of the file into one of my tables in the schema.I wrote one package for uploading the file and then a process to insert each record in the uploaded file to the table in my schema.When i try compiling the package it gives an error.
    PL/SQL: ORA-00942: table or view does not exist
    The name of the table is wwv_flow_file_objects$
    The package is as follows-
    CREATE OR REPLACE PACKAGE BODY Text_File_Pkg AS
    FUNCTION get_file_lines (
    p_file_name IN VARCHAR2,
    p_lines IN OUT line_tab_type,
    p_rec_sep IN VARCHAR2 DEFAULT dos_new_line
    ) RETURN INTEGER
    IS
    v_binary_file BLOB;
    v_text_file CLOB;
    v_dest_offset INTEGER := 1;
    v_src_offset INTEGER := 1;
    v_lang_context INTEGER := DBMS_LOB.default_lang_ctx;
    v_warning INTEGER;
    v_rec_sep_len CONSTANT INTEGER := LENGTH(p_rec_sep);
    v_start_pos INTEGER := 1;
    v_end_pos INTEGER := 1;
    v_line_num INTEGER := 1;
    v_file_length INTEGER;
    BEGIN
    IF p_file_name IS NULL
    THEN
    RETURN 1;
    END IF;
    IF p_rec_sep IS NULL
    THEN
    RETURN 2;
    END IF;
    SELECT blob_content
    INTO v_binary_file
    FROM wwv_flow_file_objects$
    WHERE NAME = p_file_name
    AND (mime_type = 'text/plain' OR mime_type = 'application/octet-stream')
    AND doc_size &gt; 0;
    DBMS_LOB.createtemporary(v_text_file, TRUE);
    DBMS_LOB.converttoclob(v_text_file, v_binary_file,
    DBMS_LOB.lobmaxsize, v_dest_offset,
    v_src_offset, DBMS_LOB.default_csid,
    v_lang_context, v_warning);
    IF v_warning = DBMS_LOB.warn_inconvertible_char
    THEN
    -- Unable to convert file.
    RETURN 3;
    END IF;
    v_file_length := DBMS_LOB.getlength(v_text_file);
    LOOP
    EXIT WHEN v_start_pos &gt; v_file_length;
    v_end_pos := DBMS_LOB.INSTR(v_text_file, p_rec_sep, v_start_pos);
    IF v_end_pos = 0
    THEN
    v_end_pos := v_file_length + 1;
    END IF;
    IF (v_end_pos - v_start_pos) &gt; 4000
    THEN
    -- Line exceeds 4000 characters.
    RETURN 4;
    END IF;
    p_lines(v_line_num) := DBMS_LOB.SUBSTR(v_text_file, v_end_pos - v_start_pos, v_start_pos);
    v_line_num := v_line_num + 1;
    v_start_pos := v_end_pos + v_rec_sep_len;
    END LOOP;
    RETURN 0;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    RETURN 5;
    END get_file_lines;
    END Text_File_Pkg;
    Any suggestions.
    Many Thanks,
    Sanjai

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

    Hello
    I have the following problem, I created an scenario that its supposed to run every 1 hour, it has an interface that moves an amount of records from one table to another (the amount of records is not fixed it changes). The problem arises when the amount of data to move is so big that the hour between executions is not enough and the scenario is still running when a second execution of the same scenario starts to run (as scheduled), so in the interface when the second process is trying to run the loading step it fails and I got the error ODI-1228 Caused By: java.sql.BatchUpdateException: ORA-00942: table or view does not exists. So the scenario fails and it logs this error. I think the error is due to the table in stage being locked by the first execution of the scenario.
    I don't want to change the amount of time between executions because it is usually enough, I just want to avoid the execution of a scenario when there is another execution of the same scenario still running, is there any way to do this?.
    Thanks
    LJ

    Hello
    Thanks for your answer, I already have the "Interval between repetitions" property set to 1 hour, but when one execution takes more than one hour the scheduler starts another and I have 2 processes accessing the same table and it is when I have a concurrence error on the staging table.
    How can I ensure that I wont have two or more executions of the same scenario running at the same time?.
    Thanks,
    LJ

  • 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

  • Error when adding forigen key (table or view does not exist)

    Hi
    i write the foreign key name and select the the table from the combo and also the field and click apply it gives me error message says :-
    error table or view does not exist vendor code 942
    any help?
    thanks in advance.
    .

    There is only an issue with this if your table has to be enclosed in double quotes. i.e. If you have mixed case table names. In that case, instead of using the context menu (right click on Table) Constraint -> Add Foreign Key, you should use the Edit... table dialog.
    We did have a bug logged for this, but the instance for using the Create foreign key dialog has not been fixed. I have reopened the bug.
    Sue

  • Problem creating a view in Administrator: 942: table or view does not exist

    Hi and thank you for reading,
    I am working with the Administration tool and would like to create a view in the physical layer. However I am getting the following error messages when I try to view the Date in the view:
    [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occured.
    [nQSError: 43093] An error occured while processing the EXECUTE PHYSICAL satement.
    *[nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist at OCI call OCIStmtExecute.*
    [nQSError: 17010] SQL statement preparation failed.
    [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occured.
    [nQSError: 43093] An error occured while processing the EXECUTE PHYSICAL satement.
    *[nQSError: 17001] Oracle Error code: 936, message: ORA-00936: missing expression at OCI call OCIStmtExecute.*
    [nQSError: 17010] SQL statement preparation failed.
    I proceed as following:
    Right click on a physical schema (this schema is already created and works in Answers) -> new Physical Schema ->Table Type: Select -> Select * from Table_A where name='name' (Table_A is in the physical schema) -> OK -> Save -> Deploy -> Update Row count (works) -> View Data -> Error
    Any Idea what I am doing wrong. I have started with an easy select statement to test how to create a view in Oracle Administrator.
    Thanks a lot for any help
    Evgeny

    Do you see Table_A, and in which database schema?
    Try to put alias (database user) before table name.
    Select * from user.Table_A where name='name'
    Where user is database user.
    If you have Table_A in another user and connection pool is set to different user, then grant select from Table_A owner to connection pool user (make synonym for Table_A):
    Example (I'm using connection pool from userB and have tables from userA and userB).
    create or replace public synonym xx for userA.xx
    and
    grant select on xx to userB
    Hope this helps.
    Regards,
    Goran
    http://108obiee.blogspot.com

  • Table or view does not exist when using in PL/SQL block

    I hav something strange...
    When i execute a query it works just fine... When i use the exact same query in a function i want to create, i get the error 'table or view does not exist'
    I create the function with the same user then when i'm executing the query.
    For example:
    select name,userid from portal.WWLOG_ACTIVITY_LOGS
    if i execute this... it works fine. I get my results.
    However when i create a function:
    CREATE OR REPLACE FUNCTION EBUSINESS.GET_USER_CREATOR (p_userid IN Varchar2) return VARCHAR2
    as
    /*CURSOR c_user_creator IS
    select distinct name,userid from portal.WWLOG_ACTIVITY_LOGS
    where sub_domain = 'user' and action = 'create'
    and name = p_userid;*/
    v_creator varchar2(500);
    v_ret_val VARCHAR2(500) := 'NOT_FOUND';
    BEGIN
    select userid into v_ret_val from portal.WWLOG_ACTIVITY_LOGS
    where sub_domain = 'user' and action = 'create'
    and name = p_userid;
    --v_ret_val := x.userid;
    --end loop;
    -- Is the user in the group or not?
    /*OPEN c_user_creator;
    FETCH c_user_creator INTO v_creator;
    IF c_user_creator%FOUND THEN
    v_ret_val := v_creator;
    ELSE
    v_ret_val := 'NOT FOUND';
    END IF;
    CLOSE c_user_creator;*/
    Return v_ret_val;
    END;
    The table or view does not exist...
    I tryed with cursor, select into, for x in (select....)
    Nothing works.
    A select grant is a select grant right? Are there different grant you should use so you can select it into a function or just do a normal select?
    I also tryed to create a view that just sais select * from WWLOG_ACTIVITY_LOGS but that doesn't work...

    Are there different grant you should use so you can
    select it into a function or just do a normal select? Yes. Grants on objects used in functions/procedures must be given directly to the user, and not through a role.

  • 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

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

    I am getting currently getting an error when I try and insert into a table from a different schema from my Stored Procedure:
    Error(20,22): PL/SQL: ORA-00942: table or view does not exist
    I am explicitly calling the table with the schema name infront i.e.
    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
    I only get this error when I try and compile my stored procedure. If I try this insert not within a stored procedure (i.e. a blank script) it works perfectly.
    Can anyone tell me what Im doing wrong?
    Thanks.

    Hi,
    It sounds like you (the procedure owner) have privileges on that table only through a role.
    Roles don't count in stored procedures created with AUTHID OWNER (which is the default).
    Either
    (1) Have user SAPSR3 grant the necessary privileges directly to you (or to PUBLIC), or
    (2) change the procedure so that it runs with the caller's privileges, by adding AUTHID CURRENT_USER after the argument list but before the keyword IS (os AS) like this:
    CREATE OR REPLACE PROCEDURE     foo
    (     x     IN     NUMBER
    AUTHID CURRENT_USER
    IS ...

  • 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 deploy mapping ora-06550 table or view does not exist

    Hi everyone,
    i have a target source 'U_BCK' that cointains some Oracle table.
    I have also created a target schema 'BCK_OWNER' where i create some dimensions and cubes with mappings.
    My mappings connect some table from U_BCK with dimension or cube from BCK_OWNER.
    My repository owner is called 'rep_owner' and i used this user to create every metadata.
    Now i'm trying to deploy, and i don't have any problem until deploying mappings. When i try to deploy mappings i get some errors like ora-06550,ora-00942 table or view does not exist and statement ignored.
    Please help me and sorry for my english...
    Thanks,
    Alex.

    The mapping, that drives the data from one table to another is deployed to the database as a PL/SQL package. When deploying your mapping fails, it most often means that the resulting PL/SQL package doesn't compile in the database.
    Using Oracle SQL Developer (or Toad, SQL Navigator or any other tool) connect to the schema on the database where you have deployed the mapping. Open the pl/sql package and compile it. That should show you the place where the compilation fails, and give you an idea as to what table it can not find. Otherwise, in SQLPLUS, you can simply give the following command:
    ALTER PACKAGE THE_PACKAGE_NAME_GOES_HERE compile body;
    show errors;
    As the database user who owns the source tables, make sure to issue a GRANT command for each of the source tables, granting SELECT access to the database user who owns the mapping:
    grant select on TABLENAME to TARGETSCHEMA.
    hope this helps
    Borkur

  • 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]

  • 500 - Internal Server Error - Table or View does not Exist

    When trying to use the sample restful service oracle.example.hr I get a 500 - Internal Server Error.
    I have no clue what to do next. I've even tried granting public to the emp table.  Nottin.
    Any insight you could give would be awesome.
    Here is the error:
    Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_failed=false, _lastUpdate=-1, _pattern=null, _poolName=apex, _regex=null, _type=REGEX, _workspaceIdentifier=null, _serviceName=null]
    Applied database connection info
    Attempting to process with PL/SQL Gateway
    Not processed as PL/SQL Gateway request
    Attempting to process as a RESTful Service
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    No Tenant Principal established yet, continuing processing
    APEX_LISTENER pool exists, continuing processing
    WebException [statusCode=500]
         at oracle.dbtools.rt.web.WebException.webException(WebException.java:343)
         at oracle.dbtools.rt.web.WebException.internalError(WebException.java:262)
         at oracle.dbtools.rt.web.WebErrorResponse.internalError(WebErrorResponse.java:101)
         at oracle.dbtools.rt.web.WebErrorResponse.error(WebErrorResponse.java:75)
         at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:166)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3732)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: JDBCException [kind=NO_DATA]
         at oracle.dbtools.common.jdbc.JDBCException.wrap(JDBCException.java:88)
         at oracle.dbtools.common.jdbc.JDBCQueryProvider.query(JDBCQueryProvider.java:41)
         at oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher.tenant(JDBCTenantDispatcher.java:104)
         at oracle.dbtools.rt.jdbc.entity.TenantDispatcherBase.target(TenantDispatcherBase.java:71)
         at oracle.dbtools.rt.jdbc.entity.TenantDispatcherBase.target(TenantDispatcherBase.java:37)
         at oracle.dbtools.rt.web.ReTargetingDispatcher.canDispatch(ReTargetingDispatcher.java:45)
         at oracle.dbtools.rt.web.RequestDispatchers.choose(RequestDispatchers.java:160)
         at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:75)
         at oracle.dbtools.rt.web.ETags.checkPrecondition(ETags.java:53)
         at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:426)
         at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:164)
         ... 14 more
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:886)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1175)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1288)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3656)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1495)
         at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:111)
         at $Proxy104.executeQuery(Unknown Source)
         at oracle.dbtools.common.jdbc.JDBCQueryImpl.resultSet(JDBCQueryImpl.java:93)
         at oracle.dbtools.common.jdbc.JDBCResultRowIterator.<init>(JDBCResultRowIterator.java:28)
         at oracle.dbtools.common.jdbc.JDBCQueryImpl.execute(JDBCQueryImpl.java:53)
         at oracle.dbtools.common.jdbc.JDBCQueryProvider.query(JDBCQueryProvider.java:38)
         ... 23 more

    May be the default parsing schema in your Apex workspace cannot access table EMP. Try and qualify table EMP and grant access from containing schema to Apex parsing schema. Hope being helpful, regards.

  • Compile error "table or view does not exist"

    When I run the following code, I get a compile error:
    Error(5,33): PL/SQL: ORA-00942: table or view does not exist
    I can run the select statement by itself as an SQL query, so why does this not work in PL/SQL?
    CREATE OR REPLACE
    PROCEDURE PREPTEST AS
    BEGIN
        FOR rec IN (SELECT rep_id FROM diag.diag_rep )
        LOOP
          DBMS_OUTPUT.PUT_LINE(' record ID is ' || rec.rep_id);
        END LOOP;
    END;

    Within SQL the permissions can be taken from the Role that the user has.
    Within PL/SQL permissions are not taken from Roles and have to be explicitly granted to the user.
    GRANT the appropriate permissions to the user and the PL/SQL code will work.

Maybe you are looking for

  • Smart playlists not updating on touch

    Since i upgraded from an ipod video to touch, my smartplaylists with "last played is not in the last X days" criteria are not live-updating on the ipod. I read on several posts that this is a known bug and apple chooses not to fix it. How is this pos

  • Margin in Table cell is way too big

    First off, thanks again to Apple for Pages 2. I like having all the different functions, that is -- word processing, page layout, spreadsheet, charts, basic graphics, photo manipulation in one window. I mean, why open up a bunch of windows when it ca

  • SQL Server Bulk Copy

    The performance optimization guide shows you how to switch between the SQL Server ODBC bulk copy API and SQLBulkOperations API but does not recomend which one works better. Since the default is SQL Server ODBC bulk copy API I assume that is the best

  • Running Out of HD space

    Although I've had my MacBook for a year now, I don't know how to cleanup my HD.I have only 3GB left on my HD. I thought maybe moving my TV episodes to my external drive would help. How do I do it???

  • Restoring backup from disks

    I had to reset my Touchsmart 300 to factory settings.  Before the restore I backed up my files to DVD as recommended.  Now i can not retrieve the information from the DVDs.  I have gone to Back Up and Restore  - Restore my files and inserted the disk