Table 'sitv.a' doesn't exist.  vendor code 1146

Post Author: pattyg
CA Forum: Crystal Reports
I need help with a sql statement that I am using in Crystal reports.  The table that I am using is sitv and I get an error that
it doesn't exist.
Here is the statement:
SELECT a.UID, a.fid, b.fname , c.lname, d.genderFROM a as profile_values LEFT OUTER JOIN (SELECT uid,fid, cast(value as char (20)) as 'Fname'     FROM profile_values     WHERE profile_values.fid =1) as bON a.UID = b.UIDLEFT OUTER JOIN(SELECT uid,fid, cast(value as char (20)) as 'lname'    FROM profile_values     WHERE profile_values.fid =2) as cON a.UID = c.UIDLEFT OUTER JOIN(SELECT uid,fid, cast(value as char (20)) as 'gender'    FROM profile_values     WHERE profile_values.fid =3) as dON a.UID = d.UID
Any help will be greatly appreciated.  Thanks in advance.

Post Author: pattyg
CA Forum: Crystal Reports
I figured it out after I went though my statements more closely.  The second line was reversed.
FROM a as profile_values
It should be From provile_values as a.

Similar Messages

  • SQLException:Table 'honeypot.casebase' doesn't exist

    Im currently using MySQL database, and encounter this error when I try to run my program. Someone please pin-point my mistake? Im new to Java and MySQL.
    SQLException:Table 'honeypot.casebase' doesn't exist
    java.sql.SQLException: Table 'honeypot.casebase' doesn't exist
           at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2851)
           at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531)
           at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1622)
           at com.mysql.jdbc.Connection.execSQL(Connection.java:2379)
           at com.mysql.jdbc.Connection.execSQL(Connection.java:2306)
           at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1298)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantTestClassRDB.
    flush(QuadrantTestClassRDB.java:97)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantTestClassRDB.
    main(QuadrantTestClassRDB.java:39)
    java.sql.SQLException: Table 'honeypot.problemfeaturespec' doesn't exist
           at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2851)
           at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531)
           at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1622)
           at com.mysql.jdbc.Connection.execSQL(Connection.java:2379)
           at com.mysql.jdbc.Connection.execSQL(Connection.java:2306)
           at com.mysql.jdbc.Statement.executeQuery(Statement.java:1192)
           at edu.indiana.iucbrf.feature.featurespec.FeatureSpecRDB.getFeatureSpecC
    ount(FeatureSpecRDB.java:162)
           at edu.indiana.iucbrf.problem.differentiator.AbstractProblemDifferentiat
    or.setupDefaultFeatureDifferentiators(AbstractProblemDifferentiator.java:85)
           at edu.indiana.iucbrf.problem.differentiator.AbstractProblemDifferentiat
    or.<init>(AbstractProblemDifferentiator.java:74)
           at edu.indiana.iucbrf.problem.differentiator.AbstractProblemDifferentiat
    or.<init>(AbstractProblemDifferentiator.java:62)
           at edu.indiana.iucbrf.problem.differentiator.EuclideanProblemDifferentia
    tor.<init>(EuclideanProblemDifferentiator.java:40)
           at edu.indiana.iucbrf.domain.Domain.standardInit(Domain.java:260)
           at edu.indiana.iucbrf.domain.Domain.<init>(Domain.java:241)
           at edu.indiana.iucbrf.domain.Domain.<init>(Domain.java:197)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantDomainRDB.<in
    it>(QuadrantDomainRDB.java:40)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantSystemRDB.set
    upDomain(QuadrantSystemRDB.java:159)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantSystemRDB.<in
    it>(QuadrantSystemRDB.java:103)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantTestClassRDB.
    main(QuadrantTestClassRDB.java:46)
    keySet true
    java.sql.SQLException: Table 'honeypot.problemfeaturespec' doesn't exist
           at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2851)
           at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531)
           at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1622)
           at com.mysql.jdbc.Connection.execSQL(Connection.java:2379)
           at com.mysql.jdbc.Connection.execSQL(Connection.java:2306)
           at com.mysql.jdbc.Statement.executeQuery(Statement.java:1192)
           at edu.indiana.iucbrf.feature.featurespec.FeatureSpecRDB$AbstractFSCIter
    atorRDB.<init>(FeatureSpecRDB.java:473)
           at edu.indiana.iucbrf.feature.featurespec.FeatureSpecRDB$FSCEntryIterato
    rRDB.<init>(FeatureSpecRDB.java:558)
           at edu.indiana.iucbrf.feature.featurespec.FeatureSpecRDB.orderedAllEntry
    Iterator(FeatureSpecRDB.java:367)
           at edu.indiana.iucbrf.problem.differentiator.AbstractProblemDifferentiat
    or.setupDefaultFeatureDifferentiators(AbstractProblemDifferentiator.java:87)
           at edu.indiana.iucbrf.problem.differentiator.AbstractProblemDifferentiat
    or.<init>(AbstractProblemDifferentiator.java:74)
           at edu.indiana.iucbrf.problem.differentiator.AbstractProblemDifferentiat
    or.<init>(AbstractProblemDifferentiator.java:62)
           at edu.indiana.iucbrf.problem.differentiator.EuclideanProblemDifferentia
    tor.<init>(EuclideanProblemDifferentiator.java:40)
           at edu.indiana.iucbrf.domain.Domain.standardInit(Domain.java:260)
           at edu.indiana.iucbrf.domain.Domain.<init>(Domain.java:241)
           at edu.indiana.iucbrf.domain.Domain.<init>(Domain.java:197)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantDomainRDB.<in
    it>(QuadrantDomainRDB.java:40)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantSystemRDB.set
    upDomain(QuadrantSystemRDB.java:159)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantSystemRDB.<in
    it>(QuadrantSystemRDB.java:103)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantTestClassRDB.
    main(QuadrantTestClassRDB.java:46)
    Exception in thread "main" java.lang.NullPointerException
           at edu.indiana.util.db.DBTools.closeResultSet(DBTools.java:140)
           at edu.indiana.iucbrf.feature.featurespec.FeatureSpecRDB$AbstractFSCIter
    atorRDB.hasNext(FeatureSpecRDB.java:499)
           at edu.indiana.iucbrf.problem.differentiator.AbstractProblemDifferentiat
    or.setupDefaultFeatureDifferentiators(AbstractProblemDifferentiator.java:88)
           at edu.indiana.iucbrf.problem.differentiator.AbstractProblemDifferentiat
    or.<init>(AbstractProblemDifferentiator.java:74)
           at edu.indiana.iucbrf.problem.differentiator.AbstractProblemDifferentiat
    or.<init>(AbstractProblemDifferentiator.java:62)
           at edu.indiana.iucbrf.problem.differentiator.EuclideanProblemDifferentia
    tor.<init>(EuclideanProblemDifferentiator.java:40)
           at edu.indiana.iucbrf.domain.Domain.standardInit(Domain.java:260)
           at edu.indiana.iucbrf.domain.Domain.<init>(Domain.java:241)
           at edu.indiana.iucbrf.domain.Domain.<init>(Domain.java:197)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantDomainRDB.<in
    it>(QuadrantDomainRDB.java:40)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantSystemRDB.set
    upDomain(QuadrantSystemRDB.java:159)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantSystemRDB.<in
    it>(QuadrantSystemRDB.java:103)
           at edu.indiana.iucbrf.examples.quadrantRDBTemplate.QuadrantTestClassRDB.
    main(QuadrantTestClassRDB.java:46)
    Press any key to continue...

    thanks guys for replying..im currently searching for
    the code that calls the database..Yes well do that.
    >
    yes, my database name is 'honeypot'. and it has a
    table called 'CaseBaseTable' inside it. I dont know
    why it still pointing to casebase..Okay...
    Don't use that fully qualified style of access whatever the table name is...
    Do you understand?
    Do not do this.
    DATABASENAME.TABLENAME
    Just do this.
    TABLENAME

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

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

  • 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

  • Reg: Table doesn't exist -

    Hi Experts,
    I'm getting this error - 'Table or View doesn't exist' when the table <tt>DBA_DML_LOCKS</tt> is used inside a (cursor) package but the same works fine when run independently.
    I'm quite sure that I'm lacking some knowledge there. Can anybody please help me in that?
    CREATE OR REPLACE PROCEDURE dml_locks
    AUTHID CURRENT_USER --DEFINER
    IS
       CURSOR cur_locks
       IS
          SELECT ROW_NUMBER () OVER (PARTITION BY b.session_id ORDER BY b.name)
                    "Rno",
                 a.sid "session_id",
                 a.schemaname,
                 b.name "table_name",
                 b.mode_held "lock_mode_held",
                 a.osuser,
                 a.machine,
                 a.program
            FROM v$session a, dba_dml_locks b
           WHERE a.sid = b.session_id;
    BEGIN
       FOR i IN cur_locks
       LOOP
           --HTP.PRINT (i.rno || '---' || i.session_id);
           htp.print('*');
       END LOOP;
    EXCEPTION
       WHEN OTHERS
       THEN
          HTP.PRINT ('Error - ' || DBMS_UTILITY.format_error_backtrace);
    END;Is it something related to the rights - Definer or Current User?
    Checked this similar thread but couldn't understand - table/view does not exist using dbms_sql
    Help much appreciated!
    - Ranit (on Oracle Database 10g Enterprise Edition Release *10.2.0.5.0* - 64bi )

    ranit B wrote:
    Karthick_Arp wrote:
    Grant to dictionary objects is assigned through a ROLE to your user. You need to have grant assigned explicitly to your user to access the object from within a PL/SQL code.Ohhh... nice to hear that. Thanks!
    Can't I use <tt>AUTHID</tt> to resolve this?
    And I'm not getting - what is the difference between Grants through ROLE and explicitly assigned Grants? I mean to say finally all give Grants only right??
    Edited by: ranit B on May 6, 2013 12:41 PMhttp://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551289900368934430

  • Schematool : Table '...' doesn't exist on MySQL

    I'm trying to use schematool to create the db tables that it has defined in
    various jdo files. When I run it I get the following
    schematool -action refresh target/classes/net/ajsoft/WebShop/Product/*.jdo
    Exception in thread "main" java.sql.Exception: General error, message from
    server: "Table 'JDO.Product' doesn't exist"
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1651)
    at
    com.solarmetric.datasource.PoolConnection$PoolStatement.executeUpdate(PoolConnection.java:112)
    I am running with a MySQL DB v4.0.11a, and with its JDBC connector v3.0.8.
    There are 3 jdo files being passed in (I assume it can cope with multiple
    input files) - the Base class is Product (jdo file attached), with the
    other 2 being derived from that.
    The database exists, and I can access it (create tables, select etc) using
    Triactive JDO (Triactive uses the table PRODUCT, whereas Kodo should be
    creating 'Product'). In fact, Kodo has created a table JDO_SEQUENCEX, so
    its reaching the DB.
    Any ideas what I'm missing ?
    Andy

    I highly recommend using all upper-case in both metadata extensions as
    well as in your own SQL scripts. For example, in Oracle, table names are
    case-insenstive in SQL scripts, but for retrieval in system tables (e.g.
    USER_TABLES), Oracle will reject non-matching cases.
    This is good general policy with many databases, if not all.
    On Fri, 08 Aug 2003 19:51:33 +0100, Andy Jefferson wrote:
    Andy Jefferson wrote:
    I'm trying to use schematool to create the db tables that it has defined
    in various jdo files. When I run it I get the following
    schematool -action refresh target/classes/net/ajsoft/WebShop/Product/*.jdo
    Exception in thread "main" java.sql.Exception: General error, message from
    server: "Table 'JDO.Product' doesn't exist"
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1651)
    at
    com.solarmetric.datasource.PoolConnection$PoolStatement.executeUpdate(PoolConnection.java:112)As a followup, I deleted all tables from the DB and re-ran schematool.
    Worked fine. Would be nice to understand what happened the first time to
    cause that error.
    Andy--
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • 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

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

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

  • Application Doesn't exist.

    Good day Experts,
    When i am trying to open application in shared services i am getting the following error.
    Processing Error:
    Description: The specified application doesn't exist.
    Code: -2147220954
    Trace: null
    Actor: General Security Error
    FYI- the path is http://servername:58080/interop/
    Projects--> HFM--> Application.
    Please advise me on this.
    your reply is most appreciated!!!
    Many Thanks,
    Anil

    Hi Tony,
    Many thanks for your mail.
    Clarify me that is the application will open in workspace without registering with Shared services???
    FYI - I am unable to open the application through Workspace also! and getting the following error.
    There was some communication error: Response is :
    http://servername:19000/hfm/globalworkspaceNav/bpm/modules/com/hyperion/hfm/web/appcontainer/Adf.asp
    Please Advise me.....
    Regards,
    Anil

  • Check table TFBEFU_CR: entry10 does'nt exist

    hi ,
    Whn i am doing MIGO for the goods from Production order with 101.
    i am getting an error that "Check table TFBEFU_CR: entry10 doesn't exist"..I tried to enter in SE11 ,,but the system displaying the table doesn't exist/Active..
    can anyone help me in this topic..
    Advance regards.
    ganesh

    Dear,
    First Check in Transaction OPK9 whether a valuation variant has been stored.
    Please refer the OSS Notes : 107588, 122292, 161359.
    183647 - Error message M7001
    Regards,
    R.Brahmankar

  • EXS24 samples won't boot: "Specified Volume Doesn't Exist"

    My sample library is in my external drive... I scanned the whole thing in Project Manager, which took forever, and I saved it...and I was able to use the samples on EXS24.
    But when I reboot Logic, only the samples that were recorded are recognized...
    when I try to pick a new sound I get the most lovely message:
    "Specified Volume doesn't exist:
    Result Code -35"
    any suggestions pleez?

    Tovinho,
    Thank you very much for reading my post and for the suggestion... I already have chosen this setting... in addition, I have "Search Project Manager Database and Search Engine" also chosen in that window, and after I boot Logic, the computer always goes through the "updating tree" process.
    But I still get the same error message.
    Kam

  • Enhancing existing Abap code: using values that doesn't exist in table

    Hi,<br><br>
    I would like to enhance this code . My requirement is as follows.<br><br>
    I have two tables  customer and product<br><br>
    <pre>KNVP  customer master data table
    Customer                            PF                Person
    700008          YF     45555
    700008          YQ     46666
    700008          ZF     46666
    700008          YM     49999
    700008          ZQ     44444
    700008          ZM     43333
    T179 product hierarchy table*
    product hier                     PF
    1000014000          ZM     
    1000015000          ZF     
    1000033000          ZQ     
    The current extractor is showing YM for all YPF values
    Customer         Zperson          ZPF        YPF    YPerson
    700008            46666              ZF          YM        49999
    700008            43333              ZQ         YM        49999
    700008            44444              ZM         YM        49999</pre>
    <br><br>
    Case 1:IF customer doesn't have Partner function value YQ in master data then partner function YF person and partner function should be use.
    <br><br>
    case 2: IF customer doesn't have Partner function value YF in master data then partner function YQ person and partner function should be use.
    <br><br>
    case3:IF customer doesn't have Partner function value YQ and YF in master data then partner function YM person and partner function should be use.
    <br><br>
    The tricky part is that YQ doesn't exist in T179 table
    <br><br>
    <pre>
    LOOP AT T_DATA.
          ZIDX = SY-TABIX.
          CLEAR T179.
       Select partner function, assigned to current
       product hierarchy level 2
          SELECT * FROM T179
                   WHERE  STUFE = '2'
                   AND    PRODH = T_DATA-PRODH.
          ENDSELECT.
       Replace value with new partner function.
       by replacing first letter to 'Y'
          CONCATENATE 'Y' T179-ZZPARVW+1(1) INTO NEWPF.
       Try to find new sales employee with this new partner function
          CLEAR KNVP.
          SELECT * FROM  KNVP UP TO 1 ROWS
            WHERE  KUNNR  = T_DATA-KUNNR
            AND    VKORG  = T_DATA-VKORG
            AND    PARVW  = NEWPF.
          ENDSELECT.
          IF SY-SUBRC EQ 0.
       New partner found with this partner function
            T_DATA-ZPARVW = NEWPF.
            T_DATA-ZPERNR = KNVP-PERNR.
      ELSE.
                NEWPF = 'YM'.
       Try to find new sales employee with partner function 'YM'
            CLEAR KNVP.
            SELECT * FROM  KNVP UP TO 1 ROWS
              WHERE  KUNNR  = T_DATA-KUNNR
              AND    VKORG  = T_DATA-VKORG
              AND    PARVW  = NEWPF.
            ENDSELECT.
            T_DATA-ZPARVW = NEWPF.
            T_DATA-ZPERNR = KNVP-PERNR.
          ENDIF.
          MODIFY T_DATA INDEX ZIDX TRANSPORTING ZPARVW ZPERNR.
    </pre>
    <br><br>Edited by: Matt on Aug 24, 2010 9:31 AM - fixed formatting

    Hi,
    thanks for your input, I have written it like this and it is working well for YQ and YF partner functions but YM is not showing when both are missing.
    LOOP AT T_DATA.
          ZIDX = SY-TABIX.
          CLEAR T179.
    *    Select partner function, assigned to current
    *    product hierarchy level 2
          SELECT * FROM T179
                   WHERE  STUFE = '2'
                   AND    PRODH = T_DATA-PRODH.
          ENDSELECT.
    *    Replace value with new partner function.
    *    by replacing first letter to 'Y'
          CONCATENATE 'Y' T179-ZZPARVW+1(1) INTO NEWPF.
    IF SY-SUBRC EQ 0.
    IF NEWPF EQ 'YF'.
          READ TABLE T_KNVP WITH KEY PARVW = 'YF'.
            IF SY-SUBRC EQ 0.  "YF exists in master data
            CLEAR KNVP.
            SELECT * FROM  KNVP UP TO 1 ROWS
              WHERE  KUNNR  = T_DATA-KUNNR
              AND    VKORG  = T_DATA-VKORG
              AND    PARVW  = 'YF'.
            ENDSELECT.
              T_DATA-ZPARVW = 'YF'.
              T_DATA-ZPERNR = KNVP-PERNR.
            ELSE.
            READ TABLE T_KNVP WITH KEY PARVW = 'YQ'.
            IF SY-SUBRC EQ 0. "YQ exists in master data
            CLEAR KNVP.
            SELECT * FROM  KNVP UP TO 1 ROWS
              WHERE  KUNNR  = T_DATA-KUNNR
              AND    VKORG  = T_DATA-VKORG
              AND    PARVW  = 'YQ'.
            ENDSELECT.
               T_DATA-ZPARVW = 'YQ'.
               T_DATA-ZPERNR = KNVP-PERNR.
    ENDIF.
    ENDIF.
    ENDIF.
    IF NEWPF EQ 'YQ'.
          READ TABLE T_KNVP WITH KEY PARVW = 'YQ'.
            IF SY-SUBRC EQ 0.  "YQ exists in master data
            CLEAR KNVP.
            SELECT * FROM  KNVP UP TO 1 ROWS
              WHERE  KUNNR  = T_DATA-KUNNR
              AND    VKORG  = T_DATA-VKORG
              AND    PARVW  = 'YQ'.
            ENDSELECT.
              T_DATA-ZPARVW = 'YQ'.
              T_DATA-ZPERNR = KNVP-PERNR.
            ELSE.
            READ TABLE T_KNVP WITH KEY PARVW = 'YF'.
            IF SY-SUBRC EQ 0. "YF exists in master data
            CLEAR KNVP.
            SELECT * FROM  KNVP UP TO 1 ROWS
              WHERE  KUNNR  = T_DATA-KUNNR
              AND    VKORG  = T_DATA-VKORG
              AND    PARVW  = 'YF'.
            ENDSELECT.
               T_DATA-ZPARVW = 'YF'.
               T_DATA-ZPERNR = KNVP-PERNR.
    ENDIF.
    ENDIF.
    ENDIF.
          ELSE.
            NEWPF = 'YM'.
    *    Try to find new sales employee with partner function 'YM'
            CLEAR KNVP.
            SELECT * FROM  KNVP UP TO 1 ROWS
              WHERE  KUNNR  = T_DATA-KUNNR
              AND    VKORG  = T_DATA-VKORG
              AND    PARVW  = NEWPF.
            ENDSELECT.
            T_DATA-ZPARVW = NEWPF.
            T_DATA-ZPERNR = KNVP-PERNR.
          ENDIF.
          MODIFY T_DATA INDEX ZIDX TRANSPORTING ZPARVW ZPERNR.
        ENDLOOP.
    thanks
    Edited by: Bhat Vaidya on Aug 30, 2010 1:31 PM

Maybe you are looking for