Table or view doesn't exist when deploying a mapping

Hello,
OWB and BI in general is new for me. I have read the tutorials but I have a problem and I don't understand how to solve it :
I have 2 databases in 2 different services :
- dbsrc (where I have tabsrc with 2 columns)
- dbtarget (where I have tabtarget with 1 column)
OWB connect correctly to dbsrc
I have made a mapping between dbsrc and dbtarget and I have just joined the second column of dbsrc with the unique column of dbtarget.
All the steps before deploying are ok but when I deployed I have a warning saying that table or view doesn't exist.
I have used the debugger and it seems that owb searches dbsrc in the service dbtarget ... I have copied my table from dbsrc to dbtarget and in this case the deployement and the execution of the mapping runs correctly.
What I'm doing wrong ? Why OWB isn't able to see that my table source is in another database/services ?
Thanks in advance for your help.

Hi,
In design center, you need two oracle dbs: one as data source (with a location pointing to you src db) and one as dwh target (with a location pointing to your target db).
Your mapping has to be in the target db. In the mapping, you use the target table from the target db and the source table from the source db.
When you deploy the mapping using control center manager, owb will create a database link for you from the target to the source db. The mapping will read the data through that database link and write it into the target table.
Regards,
Carsten.

Similar Messages

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

  • Table or View doesn't exists error on Dashboard

    Dear Gurus,
    I can open online my repository, with import & view the tables and the views successfully.
    But when I open it in dashboard, it show error:
    ORA-00942: table or view does not exist
    I confuse because I can open it in repository and it ok.
    I have also check tnsnames.ora in server to make sure the DSN is correct.
    Is there any step I should do?
    Thank you
    JOE

    JoeSSI wrote:
    Dear Gurus,
    I can open online my repository, with import & view the tables and the views successfully.
    But when I open it in dashboard, it show error:
    ORA-00942: table or view does not exist
    I confuse because I can open it in repository and it ok.
    I have also check tnsnames.ora in server to make sure the DSN is correct.
    Is there any step I should do?
    Thank you
    JOEMay be u dont have permission to that particular Subject Area...please check all the permissions...and also check whether u renamed any thing after importing into Physical layer...

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

    Hello!!!!
    I have tree simple mappings each one with only one dimention and sometimes external or normal tables. One of them is ok but I can´t deploy the others.
    In Controle Center I have this messege: the table or view does not exist.
    I genereted both queries and run in SQL navigator with the same message.
    I realized that I can set the schema properties for external tables but I couldn´t do the same for Dimension (or I don´t know where I can do this).
    I believe that I have to set this propertie for dimension to have my mapping running ok, but I realized that the only one mapping that is ok does not have this propertie set.
    Where is the problem?!!?!?!?
    I validated these mapping and they have warnnings about column length, no errors.
    In the previous OWB version I used to set this propertie, but in 10.2 I don´t know if is realy necessary.

    Try to open the package body with a tool like TOAD and try to compile it. When you use TOAD the process stops where the error is. Then you know which table or view doesn't exist for the OWB. If the table or view does exist then it is almost certainly a missing privilege that prevents you from succesfully deploying your mapping. If the table or view does not exist then you've got to deploy the underlying (bound) table.
    Regards,
    Jörg

  • Table Or View Does Not Exists..

    Hi!
    I'm having a peculear problem with a query which is generating from Hybernet. The query seems to me ok. But, it is not running when i run the following script -
    select schedfltle0_.CARR_IATA_CD as col_0_0_,
           schedfltle0_.FLT_NBR as col_1_0_,
           schedfltle0_.ORIG_ARPT_CD as col_2_0_,
           schedfltle0_.DEST_ARPT_CD as col_3_0_
    from ODS_ADMIN1.SCHED_FLT_LEG schedfltle0_,
    left outer join ODS_ADMIN1.OPS_FLT_LEG opsfltlegs1_
    on schedfltle0_.FLT_NBR=opsfltlegs1_.FLT_NBR
    and schedfltle0_.CARR_IATA_CD=opsfltlegs1_.CARR_IATA_CD
    and schedfltle0_.FLT_LCL_ORIG_DT=opsfltlegs1_.FLT_LCL_ORIG_DT
    and schedfltle0_.SCHED_LEG_NBR=opsfltlegs1_.SCHED_LEG_NBR
    right outer join ODS_ADMIN1.ARPT_GATE arptgate2_
    on opsfltlegs1_.ARR_GATE_NBR=arptgate2_.GATE_NM
    and opsfltlegs1_.DEST_ARPT_CD=arptgate2_.ARPT_IATA_CD
    right outer join ODS_ADMIN1.ACFT_EQUIP acftequip3_
    on opsfltlegs1_.EQUIP_CD=acftequip3_.EQUIP_CD,
         ODS_ADMIN1.EQUIP_SEAT_CONFIG equipseatc4_,
         ODS_ADMIN1.STN stn5_,
         ODS_ADMIN1.STN stn6_,
         ODS_ADMIN1.ACFT_TAIL acfttail7_,
         ODS_ADMIN1.ACFT_NOSE acftnose8_ ,
         ODS_ADMIN1.OPS_FLT_LEG opsfltlegs1_,
         ODS_ADMIN1.ARPT_GATE arptgate2_,
         ODS_ADMIN1.ACFT_EQUIP acftequip3_
    where (acfttail7_.SEAT_CONFIG_CD=equipseatc4_.SEAT_CONFIG_CD )
    AND(equipseatc4_.CARR_IATA_CD=opsfltlegs1_.CARR_IATA_CD )
    AND(opsfltlegs1_.ORIG_ARPT_CD=stn5_.STN_CD )
    AND(opsfltlegs1_.DEST_ARPT_CD=stn6_.STN_CD )
    AND(acfttail7_.TAIL_NBR=acftnose8_.TAIL_NBR )
    AND(acftnose8_.NOSE_NBR=opsfltlegs1_.NOSE_NBR )
    AND(schedfltle0_.FLT_NBR='966' )
    AND(schedfltle0_.CARR_IATA_CD=upper('UA'))
    AND(trunc(schedfltle0_.LCL_DEP_DTM)=trunc(decode('GMT' , 'LCL' , to_date('23-JAN-2007' , 'DD-MON-YYYY'), schedfltle0_.LCL_DEP_DTM)))
    AND(trunc(schedfltle0_.GMT_DEP_DTM)=trunc(decode('GMT' , 'GMT' , to_date('23-JAN-2007' , 'DD-MON-YYYY'), schedfltle0_.GMT_DEP_DTM)))
    AND(schedfltle0_.ORIG_ARPT_CD=upper('ORD'))
    AND(schedfltle0_.DEST_ARPT_CD=upper('IAD'))It gives - ODS_ADMIN1.OPS_FLT_LEG opsfltlegs1_ - table or view doesn't exists.
    But, when i run this code - it executes properly -
    select schedfltle0_.CARR_IATA_CD as col_0_0_,
           schedfltle0_.FLT_NBR as col_1_0_,
           schedfltle0_.ORIG_ARPT_CD as col_2_0_,
           schedfltle0_.DEST_ARPT_CD as col_3_0_
    from ODS_ADMIN1.SCHED_FLT_LEG schedfltle0_,
    /*left outer join ODS_ADMIN1.OPS_FLT_LEG opsfltlegs1_
    on schedfltle0_.FLT_NBR=opsfltlegs1_.FLT_NBR
    and schedfltle0_.CARR_IATA_CD=opsfltlegs1_.CARR_IATA_CD
    and schedfltle0_.FLT_LCL_ORIG_DT=opsfltlegs1_.FLT_LCL_ORIG_DT
    and schedfltle0_.SCHED_LEG_NBR=opsfltlegs1_.SCHED_LEG_NBR,*/
    /*right outer join ODS_ADMIN1.ARPT_GATE arptgate2_
    on opsfltlegs1_.ARR_GATE_NBR=arptgate2_.GATE_NM
    and opsfltlegs1_.DEST_ARPT_CD=arptgate2_.ARPT_IATA_CD
    right outer join ODS_ADMIN1.ACFT_EQUIP acftequip3_
    on opsfltlegs1_.EQUIP_CD=acftequip3_.EQUIP_CD, */
         ODS_ADMIN1.EQUIP_SEAT_CONFIG equipseatc4_,
         ODS_ADMIN1.STN stn5_,
         ODS_ADMIN1.STN stn6_,
         ODS_ADMIN1.ACFT_TAIL acfttail7_,
         ODS_ADMIN1.ACFT_NOSE acftnose8_ ,
         ODS_ADMIN1.OPS_FLT_LEG opsfltlegs1_,
         ODS_ADMIN1.ARPT_GATE arptgate2_,
         ODS_ADMIN1.ACFT_EQUIP acftequip3_
    where (acfttail7_.SEAT_CONFIG_CD=equipseatc4_.SEAT_CONFIG_CD )
    AND(equipseatc4_.CARR_IATA_CD=opsfltlegs1_.CARR_IATA_CD )
    AND(opsfltlegs1_.ORIG_ARPT_CD=stn5_.STN_CD )
    AND(opsfltlegs1_.DEST_ARPT_CD=stn6_.STN_CD )
    AND(acfttail7_.TAIL_NBR=acftnose8_.TAIL_NBR )
    AND(acftnose8_.NOSE_NBR=opsfltlegs1_.NOSE_NBR )
    AND(schedfltle0_.FLT_NBR='966' )
    AND(schedfltle0_.CARR_IATA_CD=upper('UA'))
    AND(trunc(schedfltle0_.LCL_DEP_DTM)=trunc(decode('GMT' , 'LCL' , to_date('23-JAN-2007' , 'DD-MON-YYYY'), schedfltle0_.LCL_DEP_DTM)))
    AND(trunc(schedfltle0_.GMT_DEP_DTM)=trunc(decode('GMT' , 'GMT' , to_date('23-JAN-2007' , 'DD-MON-YYYY'), schedfltle0_.GMT_DEP_DTM)))
    AND(schedfltle0_.ORIG_ARPT_CD=upper('ORD'))
    AND(schedfltle0_.DEST_ARPT_CD=upper('IAD')) AND
    schedfltle0_.carr_iata_cd (+) = opsfltlegs1_.carr_iata_cd AND
    schedfltle0_.flt_nbr (+) = opsfltlegs1_.flt_nbr AND
    schedfltle0_.flt_lcl_orig_dt (+) = opsfltlegs1_.flt_lcl_orig_dt AND
    schedfltle0_.orig_arpt_cd (+) = opsfltlegs1_.orig_arpt_cd AND
    opsfltlegs1_.EQUIP_CD = acftequip3_.EQUIP_CD (+) AND
    opsfltlegs1_.orig_arpt_cd = arptgate2_.arpt_iata_cd (+) AND
    opsfltlegs1_.dep_gate_nbr = arptgate2_.gate_nm (+)Why is this? Anyone have any idea? Thanks in advance for your reply.
    Regards.
    Satyaki De.

    This is working instantly --
    select schedfltle0_.CARR_IATA_CD as col_0_0_,
           schedfltle0_.FLT_NBR as col_1_0_,
           schedfltle0_.ORIG_ARPT_CD as col_2_0_,
           schedfltle0_.DEST_ARPT_CD as col_3_0_
    from ODS_ADMIN1.SCHED_FLT_LEG schedfltle0_,
    /*left outer join ODS_ADMIN1.OPS_FLT_LEG opsfltlegs1_
    on schedfltle0_.FLT_NBR=opsfltlegs1_.FLT_NBR
    and schedfltle0_.CARR_IATA_CD=opsfltlegs1_.CARR_IATA_CD
    and schedfltle0_.FLT_LCL_ORIG_DT=opsfltlegs1_.FLT_LCL_ORIG_DT
    and schedfltle0_.SCHED_LEG_NBR=opsfltlegs1_.SCHED_LEG_NBR
    right outer join ODS_ADMIN1.ARPT_GATE arptgate2_
    on opsfltlegs1_.ARR_GATE_NBR=arptgate2_.GATE_NM
    and opsfltlegs1_.DEST_ARPT_CD=arptgate2_.ARPT_IATA_CD
    right outer join ODS_ADMIN1.ACFT_EQUIP acftequip3_
    on opsfltlegs1_.EQUIP_CD=acftequip3_.EQUIP_CD,*/
         ODS_ADMIN1.EQUIP_SEAT_CONFIG equipseatc4_,
         ODS_ADMIN1.STN stn5_,
         ODS_ADMIN1.STN stn6_,
         ODS_ADMIN1.ACFT_TAIL acfttail7_,
         ODS_ADMIN1.ACFT_NOSE acftnose8_ ,
         ODS_ADMIN1.OPS_FLT_LEG opsfltlegs1_,
         ODS_ADMIN1.ARPT_GATE arptgate2_,
         ODS_ADMIN1.ACFT_EQUIP acftequip3_
    where (acfttail7_.SEAT_CONFIG_CD=equipseatc4_.SEAT_CONFIG_CD )
    AND(equipseatc4_.CARR_IATA_CD=opsfltlegs1_.CARR_IATA_CD )
    AND(opsfltlegs1_.ORIG_ARPT_CD=stn5_.STN_CD )
    AND(opsfltlegs1_.DEST_ARPT_CD=stn6_.STN_CD )
    AND(acfttail7_.TAIL_NBR=acftnose8_.TAIL_NBR )
    AND(acftnose8_.NOSE_NBR=opsfltlegs1_.NOSE_NBR )
    AND(schedfltle0_.FLT_NBR='922' )
    AND(schedfltle0_.CARR_IATA_CD=upper('UA'))
    AND(trunc(schedfltle0_.LCL_DEP_DTM)=trunc(decode('GMT' , 'LCL' , to_date('23-JAN-2007' , 'DD-MON-YYYY'), schedfltle0_.LCL_DEP_DTM)))
    AND(trunc(schedfltle0_.GMT_DEP_DTM)=trunc(decode('GMT' , 'GMT' , to_date('23-JAN-2007' , 'DD-MON-YYYY'), schedfltle0_.GMT_DEP_DTM)))
    AND(schedfltle0_.ORIG_ARPT_CD=upper('ORD'))
    AND(schedfltle0_.DEST_ARPT_CD=upper('IAD')) AND
    schedfltle0_.carr_iata_cd (+) = opsfltlegs1_.carr_iata_cd AND
    schedfltle0_.flt_nbr (+) = opsfltlegs1_.flt_nbr AND
    schedfltle0_.flt_lcl_orig_dt (+) = opsfltlegs1_.flt_lcl_orig_dt AND
    schedfltle0_.orig_arpt_cd (+) = opsfltlegs1_.orig_arpt_cd AND
    opsfltlegs1_.EQUIP_CD = acftequip3_.EQUIP_CD (+) AND
    opsfltlegs1_.orig_arpt_cd = arptgate2_.arpt_iata_cd (+) AND
    opsfltlegs1_.dep_gate_nbr = arptgate2_.gate_nm (+)
    COL_ COL_1 COL COL
    UA   922   ORD IADBu, when i execute the following one - it is not returning any value --
    select schedfltle0_.CARR_IATA_CD as col_0_0_,
           schedfltle0_.FLT_NBR as col_1_0_,
           schedfltle0_.ORIG_ARPT_CD as col_2_0_,
           schedfltle0_.DEST_ARPT_CD as col_3_0_
    from ODS_ADMIN1.SCHED_FLT_LEG schedfltle0_
    left outer join ODS_ADMIN1.OPS_FLT_LEG opsfltlegs1_
    on schedfltle0_.FLT_NBR=opsfltlegs1_.FLT_NBR
    and schedfltle0_.CARR_IATA_CD=opsfltlegs1_.CARR_IATA_CD
    and schedfltle0_.FLT_LCL_ORIG_DT=opsfltlegs1_.FLT_LCL_ORIG_DT
    and schedfltle0_.SCHED_LEG_NBR=opsfltlegs1_.SCHED_LEG_NBR
    right outer join ODS_ADMIN1.ARPT_GATE arptgate2_
    on opsfltlegs1_.ARR_GATE_NBR=arptgate2_.GATE_NM
    and opsfltlegs1_.DEST_ARPT_CD=arptgate2_.ARPT_IATA_CD
    right outer join ODS_ADMIN1.ACFT_EQUIP acftequip3_
    on opsfltlegs1_.EQUIP_CD=acftequip3_.EQUIP_CD,
         ODS_ADMIN1.EQUIP_SEAT_CONFIG equipseatc4_,
         ODS_ADMIN1.STN stn5_,
         ODS_ADMIN1.STN stn6_,
         ODS_ADMIN1.ACFT_TAIL acfttail7_,
         ODS_ADMIN1.ACFT_NOSE acftnose8_ ,
         ODS_ADMIN1.OPS_FLT_LEG opsfltlegs1_,
         ODS_ADMIN1.ARPT_GATE arptgate2_,
         ODS_ADMIN1.ACFT_EQUIP acftequip3_
    where (acfttail7_.SEAT_CONFIG_CD=equipseatc4_.SEAT_CONFIG_CD )
    AND(equipseatc4_.CARR_IATA_CD=opsfltlegs1_.CARR_IATA_CD )
    AND(opsfltlegs1_.ORIG_ARPT_CD=stn5_.STN_CD )
    AND(opsfltlegs1_.DEST_ARPT_CD=stn6_.STN_CD )
    AND(acfttail7_.TAIL_NBR=acftnose8_.TAIL_NBR )
    AND(acftnose8_.NOSE_NBR=opsfltlegs1_.NOSE_NBR )
    AND(schedfltle0_.FLT_NBR='922' )
    AND(schedfltle0_.CARR_IATA_CD=upper('UA'))
    AND(trunc(schedfltle0_.LCL_DEP_DTM)=trunc(decode('GMT' , 'LCL' , to_date('23-JAN-2007' , 'DD-MON-YYYY'), schedfltle0_.LCL_DEP_DTM)))
    AND(trunc(schedfltle0_.GMT_DEP_DTM)=trunc(decode('GMT' , 'GMT' , to_date('23-JAN-2007' , 'DD-MON-YYYY'), schedfltle0_.GMT_DEP_DTM)))
    AND(schedfltle0_.ORIG_ARPT_CD=upper('ORD'))
    AND(schedfltle0_.DEST_ARPT_CD=upper('IAD'))Anybody have any idea?
    Regards.
    Satyaki De.

  • Cannot insert PS_TXN ORA-00942 table or view does not exist

    We are using jdev 11.1.1.4.0
    We have two users in the database and various application modules which connect to these users using datasources
    We have tested the application with applicatin module pooling enabled off to test for passivation and activation errors and the application works fine.
    Also on our internal test enviorment which has more then 10 concurrent users the application works fine
    But at UAT it has started suddenly to give errors Cannot insert in PS_TXN ORA-00942 table or view does not exist
    When I see the data in PS_TXN tables in various users I can see that passivation has taken place for the same day when there sporadic errors have been reported all having the cause as ORA-00942 table or view does not exist.
    But one strange thing that I have observed is that the COLLID column has sequence numbers interchanged for the users randomly, database user 1 has sequence number from database user 2 seq and vice a versa in COLLID
    As far as this problem goes the passivation should have failed with ORA-00001 primary key voilated but that is not the case
    May be the keys have still not got to a number where they collide.
    But I am totally taken aback on such a behaviour and I am not sure how to correct it.
    So we have two porblems here
    1) why did this error come in first place PS_TXN ORA-00942 table or view does not exist
    2) Why are the sequence numbers interchanged for the databse users ?
    Edited by: user3067156 on Jun 19, 2012 3:12 AM

    I got reply to my second question
    It looks like a bug in the framework and the suggestions are to use only one ps_txn and ps_txn_seq by modifying the internal connection
    But the first problem is not yet known why did it appear suddenly
    Edited by: user3067156 on Jun 19, 2012 3:12 AM

  • Create materialized View fails with "table or view does not exist"

    DB: 10.2.0.4
    OS: Win 2003
    Hi,
    Here in my tests, i have 2 databases (A(source) and B(backup)), and i am trying to create an mview in database B to replicate data from one test table from database A, only for test purpose. I'm getting the error "table or view does not exist" when i try to create a mview with REFRESH FAST. Here is my code:
    CREATE MATERIALIZED VIEW TESTES.TAB_TESTES_REPLIC_MVIEW_02
    REFRESH FAST
    START WITH TO_DATE('21/02/2012 18:50:00', 'DD/MM/YYYY HH24:MI:SS')
    NEXT SYSDATE + 1/24/60
    WITH PRIMARY KEY
    AS SELECT REGISTRO1,
    REGISTRO2
    FROM TESTES.TAB_TESTES_REPLIC_MVIEW_02@DB_LINK_ORA10;
    The dblink is workig fine(dblink user has select privilege on TESTES.TAB_TESTES_REPLIC_MVIEW_02), and i have created the mview log on database A.
    Where is my mistake.
    Thanks a lot.
    Edited by: Fabricio_Jorge on 21/02/2012 19:06

    I found the solution.
    I had to grant SELECT on the mview log. The name is avaiable in DBA_MVIEW_LOGS

  • SQLException...table or view does not exist.

    Hi... experts...
    I am trying to insert values from jsp page to my oracle database. I am using oracle 11g on linux operating system.
    now on clicking the apply changes button i am getting following error...
    SQLException caught: ORA-00942: table or view does not exist.
    Awaiting for response.
    Thanks.

    "Table or view doesn't exist" - it just doesn't get any more clear than that. Possible reasons:
    1 you have a typo in the table name
    2 your database user cannot see the table (rights problem)
    3 you are connecting to the wrong database/schema!
    Whatever the case, its a booboo you made; Java is not lying to you and you are not going to pin this on a bug somewhere that is not under your control. Find your incredibly simple mistake and correct it.
    And believe me, plenty of people did #3.

  • Show parameter optimizer --- table or view does not exist

    one of our programmer needs to have the ability to execute "show parameter optimizer". when he does he receives "table or view does not exist". when i run said command as system i do not receive said error. is the only way around this to grant him specific rights within the database? if so, what is the lowest level of rights i can grant him to allow a proper execution? can i grant rights to only said command? -a

    It's a SQL*PLUS command and can't be used in PL/SQL block. You may use something like
    select * from v$parameter where name like 'optimizer%'

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

  • Procedure Issue (Table/View Doesn't Exist)

    Hi,
    I am running procedure its giving error (table/view doesn't exist) but if i run plsql block then noo error. Please note there is no grants issue.
    please see.
    1) Successfull case:
    BEGIN
    EXECUTE IMMEDIATE 'TRUNCATE TABLE BILLPRO.LRDA1';
    EXECUTE IMMEDIATE 'TRUNCATE TABLE BILLPRO.LRDA2';
    EXECUTE IMMEDIATE 'TRUNCATE TABLE BILLPRO.LINERENTDISCOUNTB';
    END;
    2)Un-Successfull case: Table / View doesnt exist.
    CREATE OR REPLACE PROCEDURE mobi_test AS
    BEGIN
    EXECUTE IMMEDIATE 'TRUNCATE TABLE BILLPRO.LRDA1';
    EXECUTE IMMEDIATE 'TRUNCATE TABLE BILLPRO.LRDA2';
    EXECUTE IMMEDIATE 'TRUNCATE TABLE BILLPRO.LINERENTDISCOUNTB';
    END;
    BEGIN
    mobi_test;
    END;
    Any help.
    Regards,
    Irfan Ahmad

    The problem is that your grants for your user to be able to truncate those tables is given through a role. An anonymous block will use role based permissions so you're ok that way. But when it's a stored procedure, role based permissions don't apply.
    To solve it, grant delete/truncate permissions to that user directly.

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

  • 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

Maybe you are looking for

  • Profit Center Group Organization Change - Effective for Prior Periods

    Hi Experts, A client wants to perform a horizontal organization change (profit centers) and see the effects retroactively to the prior periods.  To achieve this, they plan to re-execute the consolidation tasks going back two to three years once the o

  • How to get 60mb from a Charter Modem?

    I recently upgraded my Charter internet from 30 mb to 60 mb. If I do a speedtest.net test directly connected to the modem, I get 60 mb+. If I am connected to my WRSV4400N router, I only get 25-27 mb, the same speed I used to get with the 30 mb connec

  • Cannot display kana characters in qt5 applications

    When I'm trying to type in japanese in qt5 application, it's unable to display kana characters (but kanji looks fine). Screenshot: http://i.imgur.com/bVM9ub2.png It affects only qt5 application, gtk2/3 and qt4 works fine.

  • CRS-10010: unable to discover DHCP server

    Hy I try to set up Grid Infrastructure using GNS. When running the root script I get a Problem with dhcp. Here an example of my problem: [root@oranode1 bin]# [root@oranode1 bin]# ./crsctl get clientid dhcp -cluname grid112 -viptype HOSTVIP -n oranode

  • Ipod touch will not charge up

    for about a week when i plug ipod touch into USB on pc or into mains charger it randomly shows charge indicator going up but as sooon as disconnected it turns off as power is nil.I cannot restore via i tunes as there is no power so it goes blank and