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

Similar Messages

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

    Hi All,
    I am encountering table or view does not exist error while publishing using the api.
    Below is the code:
    try {
    consolidatorManager.openConnection("MOBILEADMIN","PASSWORD", ADMIN_JDBC_URL);
    mobileResourceManager = new MobileResourceManager("MOBILEADMIN","PASSWORD",ADMIN_JDBC_URL);
    consolidatorManager.createPublicationItem(EXT_CONN, "RMT_TEST_TABLE" , "MOBILEADMIN","RMT_TEST_TABLE", "F", "SELECT * FROM MOBILEADMIN.RMT_TEST_TABLE", null, null);
    consolidatorManager.addPublicationItem(mobileResourceManager.getPublication("/mobileApp"),"RMT_TEST_TABLE",null, null, "S", null, null);
    } catch (Exception e) {
    e.printStackTrace();
    When I execute the above code it does not throw any exceptions but I see the below error in err.log. I,U,D triggers are getting created on the remote table, CMP, CFM, CVR,CLG tables are also created, I also see primary key for this table in VPKS. Publishing seems to be fine but I see the below error in err.log.
    java.sql.SQLException: ORA-00942: table or view does not exist
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1451)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:651)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2117)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2331)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:422)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:366)
         at oracle.lite.sync.Subscription.getVirtualTablePrimaryKey(Subscription.java:7522)
         at oracle.lite.sync.Subscription.getTablePrimaryKey(Subscription.java:7365)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2334)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2157)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2129)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2108)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2093)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2079)
         at oracle.lite.sync.ConsolidatorManager.createPublicationItem(ConsolidatorManager.java:1253)
    I am not able to figure out what table it is looking for. Any ideas why this is happening?

    check the MGP compose process, is it also showing the error?
    If it is them at some point in 10.2 Oracle introduced a 'feature' (ie: bug) that causes problems to the housekeeping routines when new versions of publication items are published
    In 10.0 and early 10.2 when making changes to publication items VIEWS called CPV$.. were created to log the column list for each version of a publication item, and check if you are making changes when you publish. In the case of old versions, once all clients have synchronised and been moved to the latest version it tries to delete this view.
    at some point the publish started creating TABLES instead of views (but using the same naming convention ie: CPV$..). This works fine as far as the logging of changes and old column lists, but the housekeeping called at the end of the publish and GP process still trieds to do a DROP VIEW and this causes the error.
    The only way of clearing this i have found is to look at the log file to get the name of the object that it is trying to drop, set up a view script to create a dummy view with the list of columns in the table, drop the table and then create the view. It then gets dropped on the next MGP cycle and the error goes away
    If the error is not showing up in the MGP process, only in the publish, and your changes appear to be publishing OK, then the problem is likely to be with a snapshot definition AFTER the change you have made - real pain to identify on re-publish - possibly missing schema name in the snapshot definition

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

  • Informatica 9.0.1:- Table or view does not exist, error occured at recurive

    Hello every one,
    I am new to this field, I am getting error when I run my workflow in other folder, It is giving table or view does not exist, And I understood that the target table is not present,
    Actual table present is ws_twfs_olb_project_ds but in the session log it is showing wc_twfs_olb_project_ds1. I don't know why in the session log it is showing like that.
    Might be the problem occured during the importing session. If so, Can you please provide me how to resolve this issue.
    Thanks in advance!

    wc_twfs_olb_project_ds1 is an alias table and used in Informatica mapping to do self join(specifically in order to query different column multiple times).
    Ideally you sholud be checking the wc_twfs_olb_project_ds in the OLAP schema.Try connecting to OLAP scheam by toad or SQL*PLUS and let me know if you are able to view this table or not?..
    Regards,
    Veeresh Rayan

  • MAPVIEWER RECEIVING ORA-00942 Table or View does not exist ERROR

    I've created a new 10g instance that will store spatial data almost exclusively. SDO Version 10.1.0.2.0. Using an ESRI product (shp2sde), I have inserted a shape file into the database so that it will accessible through ArcSDE or Oracle Spatial, then created the spatial index. The information appears correct in the USER_SDO_GEOM_METADATA table. The spatial layers are accessible via all ESRI products but when I use our Mapviewer JSP application, it encounters an ORA-00942 Table or View Not Found error. The same procedures to insert data were used in a 9i database and a previous 10g database (built from the same CDs as this instance) without a problem. It looks like there is a permissions problem but cannot put my finger on it. The table is owned by a user AREAOFINTEREST and the Mapviewer datasource is connecting as AREAOFINTEREST.

    What are the datasource and theme definitions in your jsp?
    Could you also post the full error stack that should be in the mapviewer log file.
    Jayant

  • Table or view does not exists error while executing select statement

    Hi,
    I am new to Oracle. I am getting a error while executing the select statement if i give table name without double quotes.
    Ex: Select * from Customer;
    But working fine when the table name is enclosed within a double quotes.
    Ex: Select * from "Customer";
    Is there any way to execute the select statement without the double quotes?
    Actually I am using NHibernate objects for data access.
    Thanks,
    Sai

    Actually I am using NHibernate objects for data access.And probably that's the problem:
    SQL> select * from mytab;
             A
             1
    SQL> select * from mYtAb;
             A
             1
    SQL> select * from MYTAB;
             A
             1
    SQL>  select * from MYTAb;
             A
             1Oracle statements are case insensitive and doesn't require double quotes unless the object names are reserved words.
    As wrote by others if table is created using double quotes it's name bacomes case-sensitive... and this could be the problem...
    Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/02/05/gestione-degli-errori-in-sql-con-log-errors/]
    Edited by: Massimo Ruocchio on Feb 5, 2010 7:08 PM
    Added last comment..

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

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

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

  • 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

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

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

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

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

  • ORA-00942: table or view does not exist in database control

    Hi all,
    i am getting "ORA-00942: table or view does not exist" error while accessing tablespaces from database control. i am able to access control files, redo log files everything fine, but not tablespaces.
    database version ---> 10.2.0.1
    OS ----> RedHat Enterprise Linux 4 U 2
    but the database is working fine from SQL*Plus and other Editors. this error is only from database control. so what might be the cause.
    Any Ideas ...........
    Balaji

    hi,
    Have you tried to re register your database within OEM, CG

  • Applications APIs and ORA-00942: table or view does not exist

    As a low privileged user (non apps account), I am attempting to call the hr_employee_api from a wrapper pl/sql block that is owned by the account. I am receiving the "ORA-00942: table or view does not exist" error message. It would seem that the API is executing with invoker's rights. However, the API does not seem to be coded for invoker's rights.

    Never mind, it IS coded for invoker's rights. DUH!

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

  • Blank Tables Schemau00B4s name causes "Table or view does not exist" Oracle

    Hello Guys,
    I´m searching over the internet something that could solve this issue:
    I´m developing an application that simply open a .rpt file, associate it to some crystalreportviewer´s reportsource. After making some tests I found out that the tables schema name (Oracle) is lost. So when I log in to the database with a user that is not the owner of the table, I get "Table or view does not exist" error.
    I printed in the screen the Location property of the tables and all I got was the table name, with no schema name in it.
    Someone can help me with that? I´m using visual studio 2008, 2.0 .net framework and C#
    The source-code is bellow:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    namespace crystal20
        public partial class Form1 : Form
            public Form1()
                InitializeComponent();
            private void Form1_Load(object sender, EventArgs e)
                try
                    this.ConfigureCrystalReports();
                catch (Exception ex)
                    MessageBox.Show("Erro:" + ex.Message);
            private void ConfigureCrystalReports()
                openFileDialog1.FileName = "";
                openFileDialog1.ShowDialog();
                ReportDocument crReportDocument;
                Database crDatabase;
                Tables crTables;
                TableLogOnInfo crTableLogOnInfo;
                ConnectionInfo crConnectionInfo;
                //Create an instance of the strongly-typed report object
                crReportDocument = new ReportDocument();
                crReportDocument.Load(openFileDialog1.FileName);
                //Form2 teste = new Form2(crReportDocument);
                //crReportDocument = teste.getRelatorio();
                //crReportDocument.SetDatabaseLogon("", "", "", "");
                //Set the crConnectionInfo with the current values stored in the report
                //crConnectionInfo = crReportDocument.Database.Tables[0].LogOnInfo.ConnectionInfo;
                crConnectionInfo = new ConnectionInfo();
                /* Populate the ConnectionInfo Objects Properties with the appropriate values for
                   the ServerName, User ID, Password and DatabaseName. However, since Oracle
                   works on Schemas, Crystal Reports does not recognize or store a DatabaseName.
                   Therefore, the DatabaseName property must be set to a BLANK string. */
                //crConnectionInfo.DatabaseName = "";
                //crConnectionInfo.ServerName = "hom";
                //crConnectionInfo.UserID = "user";
                //crConnectionInfo.Password = "pass";
                //Set the ReportSource of the CrystalReportViewer to the strongly typed Report included in the project
                crystalReportViewer1.ReportSource = crReportDocument;
                //Set the CrDatabase Object to the Report's Database
                crDatabase = crReportDocument.Database;
                //Set the CrTables object to the Tables collection of the Report's dDtabase
                crTables = crDatabase.Tables;
                //Loop through each Table object in the Tables collection and apply the logon info
                //specified ealier. Note this sample only has one table so the loop will only execute once
                foreach (Table crTable in crTables)
                    crTableLogOnInfo = crTable.LogOnInfo;
                    crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
                    crTable.ApplyLogOnInfo(crTableLogOnInfo);

    Thanks for your answer, but where do I get the Owner (Schema) name.
    When I print the Table.Location property I just get the table name, not any Owner.
    Ex:
    My table is:
    CUSTOM.TABLE1
    If I print the value of table.location property value its just "TABLE1". Then If I log on as other user, not custom, I get "Table or view does not exist".
    Have you understood my issue?

  • 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

Maybe you are looking for

  • WLAN has stopped working - Satellite X200/N00, Vista 32-bit Ultimate (SP1)

    When I purchased this laptop earlier this year, everything worked pretty well with no significant issues. A few weeks ago, however, my WLAN connection stopped working -- specifically, it does not get a valid IP address from the router. Notebook is a

  • Need Help with FCP7 import and plug in question.

    Hello, I just registered and would like to ask two questions. Everything else I'll use the search function for but I need the answer right away. Ok First question. I have a mac pro at home and a intel macbook both with FCS4 during the holiday season

  • Mac Pro with Server 10.8.5 Randomly Shuts Down

    OK all you really smart dudes ... I have a Mac Pro (2.8 GHz Quad-Core Intel Xeon) with 24GB RAM. We are running Mountain Lion Server (10.8.5) without problems until the last two weeks. "Out of the blue" in the middle of the day, it just turns off. We

  • Upgrade Help... is my install disk good?

    Hi all... may your 2007 unfold as you prefer... I bought Tiger and was testing out how it would run, on a cloned B/U firewire drive, before installation on my main drive... I ran into install problems and after 2 failed attempts on the external drive

  • Can't receive email - connection failure

    Since last nigh, the inbox in my Mail program (both computers) has had an alert icon. When activated, it says ... "There may be a problem with the mail server or network. Check the settings for account "XX" or try again. The server error encountered