ORA-00923:FROM KEYWORD NOT FOUND WHERE EXPECTED

I have nade a oracle ODBC TO MS-EXCEL.While writting query in microsoft query editor I got the error msg
ORA-00923:FROM KEYWORD NOT FOUND WHERE EXPECTED
The following query runs fine on sql plus editior
wht could be the reason ,pls guide me
select ORDR_H.ORDERDT,ordR_h.orderno,ordr_h.partycd "CODE",
DECODE (PARTY_M.PARTY_TY,1,'TRADE',2,'NTR'),
party_m.party_n1,c1.citee_nm "Stockist Place",
c.citee_nm "CONSIGNEE PLACE"
from citee_m c,citee_m c1,ordr_h,ordr_d,party_m
where
ordr_h.orderno=ordr_d.orderno
and c.citee_cd=ordr_h.destncd
and c1.citee_cd=party_ct
and ordr_h.partycd=party_m.party_cd
and ordr_h.orderdt>='01-jan-09'
order by 2,3

One thing that comes to mind is that ODBC does not allow Oracle-specific syntax.

Similar Messages

  • 2.1 EA 1: ORA-00923: FROM keyword not found where expected

    Hi,
    there is a simple table which results in this error when opening the data tab. All other tabs are ok. In 1.5 the table can be opened with the data tab.
    Columns:
    ID     NUMBER     No          1
    PARENT_ID     NUMBER     Yes          2
    NODE_NAME     VARCHAR2(50 BYTE)     Yes          3
    KREDFILIALE     VARCHAR2(50 BYTE)     Yes          4
    VALID_FROM     DATE     Yes     to_date('20081001','yyyymmdd')     5
    VALID_TO     DATE     Yes     to_date('20090930','yyyymmdd')     6
    LEVEL     NUMBER(2,0)     Yes          7
    LIEFERANTENNR     VARCHAR2(50 BYTE)     Yes          8
    SCGROUP     NUMBER     Yes          9
    Regards,
    Juergen

    logged Bug 9000729 - ea1: otnforum: datatab fails to open for a reserved keyword column name
    -Raghu

  • 'FROM keyword not found where expected'error while Inserting into Text file

    Hi,
    I have created a simple interface for testing purpose. All it has to do is to Read the data from a Source Text file and put it into another text file (exactly the same headers as that of source) ...
    I am using Oracle as my staging area.
    But at 'Insert column Header' Stage, it gives me a warning 'FROM keyword not found where expected' and when it goes to the next step 'Insert Rows' it gives me the same error 'FROM keyword not found where expected' and aborts its execution.
    I checked the query for insertion and found nothing wrong in it (FROM Statement is just where it is expected, that is) but somehow its not working.
    Can somebody help me out as i have done it before on other Installations and dont know why it is occuring that too for the simplest thing in ODI ...
    Regards,
    Nitesh.

    Probably you missed the concat operator.
    select rpad(nvl(lu_parid,' '),1,19)|| v_comma ||
    rpad(nvl(lu_class,' '),1,3)
    from temp_te07                                                                                                                                                                                                                                                                                                           

  • I am getting error from keyword not found where expected

    I am unable to find the error in the following query... its giving from key word not found where expected
    select ms.state_name,sum(decode(mp.status,'12',1,0)) cnt_active,sum(decode( mp.status,'12',mh.chargesheet_name,0)) sum_active,
    sum(decode(mp.status,'18',1,0))) cnt_inactive, sum(decode( mp.status,'18',mh.chargesheet_name,0)) sum_inactive,
    sum(decode(mp.status,'',1,'5',1,'16',1,'17',1,0)) cnt_expired, sum(decode( mp.status,'',mh.chargesheet_name,'5',mh.chargesheet_name,'16',mh.chargesheet_name,'17',mh.chargesheet_name,0)) sum_expired
    from mst_pindetails mp,mst_batchno mb,mst_chargesheet_hdr mh,mst_state ms where mp.swhbatchcode=mb.swhbatchcode and mb.chargesheetno = mh.chargesheet_code
    and trim(ms.state_id) = mb.statecode group by state_name

    ok working no problem

  • Getting an error -from keyword not found where needed.

    plzz reaply asap!!!
    what is wrong with the query???
    SELECT
    aaa.user_id
    aaa.ispeak,
    SUM (round(aaa.aduration_seconds/decode(aaa.ispeak,0,offpeakpulse,peakpulse))*decode(ispeak,0,offpeakpulse,peakpulse)) DURATION,
    srt.circle,
    srt.package_id ,
    srt.peak_rate ,
    srt.offpeak_rate ,
    srt.bst_plantype ,
    srt.free_value ,
    srt.peak_pulse ,
    srt.offpeak_pulse ,
    srt.pulse_unit ,
    srt.rating_unit
    FROM aaa_sessions aaa, subscriber_rate_tab srt
    WHERE aaa.user_id = srt.externalid(+)
    AND (aaa.start_time_utc between srt.activedt and srt.inactivedt)
    AND (aaa.end_time_utc between srt.activedt and srt.inactivedt);

    That's why formatting is important, you missed comma in the very first line. aaa.user_id. Always try to write formatted code, for example:
    SELECT aaa.user_id,
           aaa.ispeak,
           SUM(round(aaa.aduration_seconds /
                     decode(aaa.ispeak, 0, offpeakpulse, peakpulse)) *
               decode(ispeak, 0, offpeakpulse, peakpulse)) DURATION,
           srt.circle,
           srt.package_id,
           srt.peak_rate,
           srt.offpeak_rate,
           srt.bst_plantype,
           srt.free_value,
           srt.peak_pulse,
           srt.offpeak_pulse,
           srt.pulse_unit,
           srt.rating_unit
      FROM aaa_sessions aaa, subscriber_rate_tab srt
    WHERE aaa.user_id = srt.externalid(+)
       AND (aaa.start_time_utc between srt.activedt and srt.inactivedt)
       AND (aaa.end_time_utc between srt.activedt and srt.inactivedt);Now there is another thing about you group function SUM. But I am leaving that up to you sort it out.

  • From keyword not Found error

    Brief History :
    Before our application is running in websphere5.0 now i migraded to websphere 6.0.Now our application is running in websphere 6.0.In our application we have written all our quries in one .xml(SelectRepository.xml....) file.
    Problem:
    while i am going through my application(while doing searching,inserting and updating) i am getting some query problem.we are using one parser for parsing these .xml repositories.
    Problem Description :
    If our query is in 4 lines,the first line is mixed with second line,if there is no space after fist line.
    My Doubt of problem:
    we are using 3 common .jar files in websphere 5.0 and websphere 6.0
    names xalan.jar,xerces.jar,xsl.jar.
    My doubt is whether can i use same files for websphere 6.0 or i have to use some other files.
    Final description :
    Plz provide help me out in the query problem.it requires space in each line ending of every query.

    Brief History :
    Before our application is running in websphere5.0 now i migraded to websphere 6.0.Now our application is running in websphere 6.0.In our application we have written all our quries in one .xml(SelectRepository.xml....) file.
    Problem:
    while i am going through my application(while doing searching,inserting and updating) i am getting some query problem.we are using one parser for parsing these .xml repositories.
    Problem Description :
    If our query is in 4 lines,the first line is mixed with second line,if there is no space after fist line.
    My Doubt of problem:
    we are using 3 common .jar files in websphere 5.0 and websphere 6.0
    names xalan.jar,xerces.jar,xsl.jar.
    My doubt is whether can i use same files for websphere 6.0 or i have to use some other files.
    Final description :
    Plz provide help me out in the query problem.it requires space in each line ending of every query.

  • Java.sql.SQLDataException: ORA-01878: specified field not found in datetime

    I am getting the exception mentioned in the subject field. Here is the query
    select * from tabel_abc where from_tz(cast(LAST_RECEIVED_TIME + timeout_duration/86400 as timestamp),'UTC') <systimestamp at time zone 'UTC';
    This is happening only for the during the daylight saving, because the date operation is returning the incorrect time value.
    timeout_duration holds the value in terms of number of seconds.
    Please suggest how to resolve the issue.
    Caused by: java.sql.SQLDataException: ORA-01878: specified field not found in
    datetime or interval
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
    at
    oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at
    oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.ja
    va:1079)
    at
    oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1
    293)
    at
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1
    419)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedState
    ment.java:3752)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatemen
    t.java:3806)
    at
    oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedS
    tatementWrapper.java:1667)
    at
    weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:13
    5)
    at

    >
    When I run the following expression on this value I get the ORA-01878 error:
    (EXTRACT(DAY FROM ((ETD_ZULU - 4/24) - SYSTIMESTAMP)))
    >
    That isn't the same as the snippet you first posted
    This works
    select EXTRACT(DAY FROM ((ETD_ZULU - 4/24) - SYSTIMESTAMP)) from
    (select cast (systimestamp as timestamp(6)) etd_zulu from dual)The first snippet you posted was
    >
    select * from tabel_abc where from_tz(cast(LAST_RECEIVED_TIME + timeout_duration/86400 as timestamp),'UTC') <systimestamp at time zone 'UTC';
    >
    And it includes time zone. All of the web references I have found indicate the problem is either a missing timezone or a timezone mismatch.
    I can't reproduce the problem with the last snippet you used. Are you certain that ETD_ZULE is timestamp and does not include timezone?
    Do you have a complete query that fails? If so, try to narrow the query down to one record that is causing the problem. If you have to you can use brute force approach. Assume that 60 records should be produced. Add
    WHERE ROWNUM < 30to the query. If it runs clean the problem is in the second half so use '< 40', and keep testing until you know which record. Then examine the contents of the field for that record.
    Without some code to try to reproduce the problem there isn't much other help to offer.

  • ORA-01878: specified field not found in datetime or interval

    I have TIME_SOLD field which is a date data type. WHen I run a simple query against this table with the where clause below, I get ORA-01878: specified field not found in datetime or interval. Please help?
    and to_char(from_tz(cast(time_sold as timestamp), 'Australia/Sydney') at time zone 'US/Pacific', 'yyyymmdd') >= '20091001'
    and to_char(from_tz(cast(time_sold as timestamp), 'Australia/Sydney') at time zone 'US/Pacific', 'yyyymmdd') < '20091101'

    just to give an exampe I've created a table called your_table with a date field (time_sold).
    I've inserted 100 random values plus this one: 20090329 02:30:00 (read it using the format yyyymmdd hh24:mi:ss).
    It's a non valid time in Rome because on March 29 we went to the DST so time skipped from 02.00 to 03.00.
    Here's my script's result:
    SQL> declare
      2    x varchar2(100);
      3    cursor c is
      4      select time_sold from your_table;
      5  begin
      6    for r in c loop
      7      begin
      8       x:= to_char(from_tz(cast(r.time_sold as timestamp), 'Europe/Rome') at time zone 'US/Pacific', 'yyyym
    mdd');
      9      exception
    10        when others then
    11           DBMS_OUTPUT.PUT_LINE(SQLCODE||' '||to_char(r.time_sold,'yyyymmdd hh24:mi:ss'));
    12      end;
    13    end loop;
    14  end;
    15  /
    -1878 20090329 02:30:00Max

  • Create WLS Domain with SOA - ORA-01882: timezone region  not found

    Hi All,
    I am installing SOA 11g 11.1.1.5 on my windows 7 machine. I have installed my XE database and the dbtimezone is set to = +02:00( which i have set and bounced the db).
    I have installed the RCU, Weblogic server and SOA. Now when I am trying to create a WLS domain, after I configure JDBC schemas, when i try to test it i get the following:
    Component Schema=SOA Infrastructure
    Driver=oracle.jdbc.xa.client.OracleXADataSource
    URL=jdbc:oracle:thin:@localhost:1521/XE
    User=DEV_SOAINFRA
    Password=*********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='SOAINFRA' and version='11.1.1.5.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    CFGFWK-60850: Test Failed!
    Component Schema=User Messaging Service
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@localhost:1521/XE
    User=DEV_ORASDPM
    Password=*********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='ORASDPM' and version='11.1.1.2.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    CFGFWK-60850: Test Failed!
    Component Schema=OWSM MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@localhost:1521/XE
    User=DEV_MDS
    Password=*********
    SQL Test=select 1 from schema_version_registry where
                        owner=(select user from dual) and mr_type='MDS' and
                        version='11.1.1.5.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    CFGFWK-60850: Test Failed!
    Component Schema=SOA MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@localhost:1521/XE
    User=DEV_MDS
    Password=*********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='MDS' and version='11.1.1.5.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    CFGFWK-60850: Test Failed!
    My Windows time region is set to (UTC+02:00) Harare, Pretoria
    Any help on resolving this ?
    Thanks
    K

    Hi,
    This worked for me,
    1. Navigate to the directory where you ran the config.bat script.
    2. Use use a text editor open the config.bat file.
    3. Locate this line in the file : SET CONFIG_JVM_ARGS=%CONFIG_JVM_ARGS% -DCOMMON_COMPONENTS_HOME=%COMMON_COMPONENTS_HOME%
    4. Append this string to the end -Duser.timezone="+02:00" and run the config script again.
    5. also check that the oracle db timezone is set correctly.
    SQL> select sessiontimezone from dual;
    SESSIONTIMEZONE
    +02:00
    Hope that helps -- it worked for me.
    Mo

  • Fusion order  issue+(SQLException) ORA-01882: timezone region  not found

    hi,
    i have created entities,viewObjects and AM with help of Business Components from tables
    after creating the wizard when i run the AM i am getting the below error please any one help
    oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.sql.SQLException, msg=ORA-01882: timezone region not found
    ----- Level 1: Detail 0 -----
    (java.sql.SQLException) ORA-01882: timezone region not found

    hi,
    i am trying to creating a graph in ADF page where i have dragged a node from datacontrol i have selected as bar graph in configuration window given values for Bars and swap bars with Xaxis and click the preview tab where i am getting this error as
    it couldnot fetech data
    Unable to retrieve data: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
    Jdev11g i have reinstalled the recently but previously i installed Jdev11g and used were i got same problem i have followed steps which given by Shychemaker that time it work fine now i have done same steps but now its not working can anyone help me
    Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:4957)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5054)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1280)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6415)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:118)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:217)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:558)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:414)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8377)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4364)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2421)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2207)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3086)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:494)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:836)
         at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:480)
         at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:265)
         at oracle.adf.model.BindingContext.put(BindingContext.java:1012)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:175)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:778)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:911)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:802)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:758)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:889)
         at oracle.adf.model.BindingContext.get(BindingContext.java:848)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1421)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2388)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2333)
         at oracle.adf.model.dvt.binding.transform.Utils.getCubicDataControl(Utils.java:104)
         at oracle.adf.model.dvt.binding.transform.CDCDefinition.getCubicDataControl(CDCDefinition.java:124)
         at oracle.adf.model.dvt.binding.transform.TransformDefinition.getCubicDataControl(TransformDefinition.java:175)
         at oracle.adf.model.dvt.binding.transform.CDCDefinition.setCubicBinding(CDCDefinition.java:64)
         at oracle.adf.model.dvt.binding.transform.TransformDefinition.setCubicBinding(TransformDefinition.java:160)
         at oracle.adf.model.dvt.binding.common.CubicBinding.getProjection(CubicBinding.java:184)
         at oracle.adf.model.dvt.binding.common.CubicBinding.getProjection(CubicBinding.java:141)
         at oracle.adf.model.dvt.binding.common.CubicBinding.createCubeDataModel(CubicBinding.java:203)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.createDataModel(FacesCubicBinding.java:169)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:131)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:122)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:89)
         at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.preview.PreviewRuntime.fetchData(PreviewRuntime.java:99)
         at oracle.adfdtinternal.model.dvt.ide.objects.editors.CubicHierEditor$5$1.run(CubicHierEditor.java:933)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:936)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1706)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1674)
         at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:274)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:7264)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:4953)
         ... 45 more
    ## Detail 0 ##
    java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:936)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1706)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1674)
         at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:274)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:7264)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:4953)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5054)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1280)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6415)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:118)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:217)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:558)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:414)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8377)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4364)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2421)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2207)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3086)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:494)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:836)
         at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:480)
         at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:265)
         at oracle.adf.model.BindingContext.put(BindingContext.java:1012)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:175)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:778)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:911)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:802)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:758)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:889)
         at oracle.adf.model.BindingContext.get(BindingContext.java:848)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1421)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2388)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2333)
         at oracle.adf.model.dvt.binding.transform.Utils.getCubicDataControl(Utils.java:104)
         at oracle.adf.model.dvt.binding.transform.CDCDefinition.getCubicDataControl(CDCDefinition.java:124)
         at oracle.adf.model.dvt.binding.transform.TransformDefinition.getCubicDataControl(TransformDefinition.java:175)
         at oracle.adf.model.dvt.binding.transform.CDCDefinition.setCubicBinding(CDCDefinition.java:64)
         at oracle.adf.model.dvt.binding.transform.TransformDefinition.setCubicBinding(TransformDefinition.java:160)
         at oracle.adf.model.dvt.binding.common.CubicBinding.getProjection(CubicBinding.java:184)
         at oracle.adf.model.dvt.binding.common.CubicBinding.getProjection(CubicBinding.java:141)
         at oracle.adf.model.dvt.binding.common.CubicBinding.createCubeDataModel(CubicBinding.java:203)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.createDataModel(FacesCubicBinding.java:169)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:131)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:122)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:89)
         at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.preview.PreviewRuntime.fetchData(PreviewRuntime.java:99)
         at oracle.adfdtinternal.model.dvt.ide.objects.editors.CubicHierEditor$5$1.run(CubicHierEditor.java:933)
         at java.lang.Thread.run(Thread.java:619)

  • ORA-17627: ORA-12577: Message 12577 not found; product=RDBMS; facility=ORA

    Hi Guru's,
    During running Duplicate command from active database duplication. I am getting error as:-
    ORA-17627:ORA-12577: Message 12577 not found; product=RDBMS; facility=ORA
    Can anyone of you tell me what exactly the error as i googled about this error but not getting any satsifactory answer
    Ok After looking at the alert file i came to notice
    ORA-19502: write error on file "+DATA1/abc/controlfile/current.253u84989, block number 512 (block size=16384).

    vk82 wrote:
    Hi Guru's,
    During running Duplicate command from active database duplication. I am getting error as:-
    ORA-17627:ORA-12577: Message 12577 not found; product=RDBMS; facility=ORA
    Can anyone of you tell me what exactly the error as i googled about this error but not getting any satsifactory answer
    Ok After looking at the alert file i came to notice
    ORA-19502: write error on file "+DATA1/abc/controlfile/current.253u84989, block number 512 (block size=16384).
    The "message not found" error is almost invariably due to not having ORACLE_HOME properly set.  That error is actually a secondary error.  Some other error occurred, and when oracle tried to reported it, could not find the messages file that provides the text for all the error messages.  That message file is expected to be at a specific location relative to ORACLE_HOME.  So if ORACLE_HOME is not correct ... you get this problem.

  • CAN NOT IMPORT BUSINESS AREA AS IT SAYS - JOINS NOT FOUND WHERE REQUIRED

    We have recently migrated from Disco 4.1.48.08 to 10.1.2
    Everything looks ok - we are able to look at existing workbooks and business areas. And we can export business areas successfully.
    However
    When we try to import some business areas it returns - JOINS NOT FOUND WHERE REQUIRED and fails. This is now causing a problem with how we promote from our test/uat and prod environments.
    any ideas ?

    Here's some information from Support that helped me...
    Discoverer has many options on exporting and importing objects. Entire End User Layers, Entire Business Areas or only selected objects could be exported. To simplify the process of exporting and importing Business Areas, it is suggested that the export and import process should be done with entire Business Areas. The reason why it is not recommended that selected objects are exported and imported as a norm is to simplify maintenance.
    It is still possible to export and import selected objects, but a knowledgeable Administrator is recommended to head the procedure. The process could get
    very complex and difficult to manage.
    Some Additional Notes:
    - Join conditions are exported, but are not indicated as an object. Join conditions are only exported ** if ** the joining folders are exported.
    - If the ‘refresh’ option is performed in Discoverer Administrator on an object and the underlying object on the database is not available, the object is dropped from the EUL. It is of utmost importance that the objects exist on the underlying database before the ‘refresh’ option is executed.
    - Functions and Workbooks are not exported when exporting an entire Business Area. Functions and Workbooks have to be exported separately.
    The first bullet is what was giving me this error "JOINS NOT FOUND WHERE REQUIRED". I was unable to do a full export - another unrelated error, so I came up with an alternate solution. I created a new BA that only contained the standard folders that my two custom BA's referenced - by JOINS and inclusion in my complex folders. I exported all 3 and they imported into the new instance with no issue.
    Jewell

  • Displaying "ORA-20502: Automation context not found." error message

    Hi all,
    I am implementing functionality in OSM 7 to read jms message sent by external system.I am setting default jmscorrelationid as "test" in order to identify message.I have implemented an automated task as xslt automator and having external event receiver.but when i get the message on the queue from external system weblogic console start giving error message as -
    "ORA-20502: Automation context not found.
    Can you please tell me what could be the reason for this??

    The trick is that OSM needs to initiate the communication. It is depicted in the diagrams in OSM Developer's Guide in the automation plugin section (however not very clear - in my opinion).
    My experience is that you need to correlate messages to OSM by using the (JMS)correlation id sent by the initiating message from OSM. If this can't be sent directly to the external system, a component (e.g. JMS queue + MDB) needs to be placed between the systems and handle the correlation between the messages from the external systems and the OSM "request for reply".

  • URGENT: ORA-12514: Message 12514 not found;

    Hi, I have a big problem:
    I have a PC (PC1) with an Oracle 9.2.0.5 database.
    I have other PC (client=PC2) with Oracle forms and reports runtime installed.
    I try to execute my .fmx from PC2 and everything was ok.
    After that, I installed again in another server (PC3) the Oracle database, and when I tried to connect from my client (PC2) to the new database, it appears the error:
    ORA-12514: Message 12514 not found; Product=RDBMS80; Facility=ORA
    Why is giving this error? May be the PC3 needs an ORACLE_HOME environment variable or similar?
    I've seen the following in relation with oracle_home:
    In the PC server (PC3) the ora_home variable in regedit (it doesn't exists as windows environment variable) is e:\oracle\ora92
    It's different from oracle_home in PC2 (Pc client) , in which is: c:\orant
    Is it important?
    Is this error possible because of the TNSNAMES configuration?
    Please help me, is very urgent for me.
    Thanks a lot

    Hi guys,
    I've solved the problem: It was in the TNSNAMES. The service_name was incorrect. I changed it and it worked.

  • Error ORA-01882: timezone region not found

    Hi, Any one can help on this issue.
    On Webpage
    :P129_CRT_START: 20-JUL-2007 11:45
    :P129_CRT_TZ: PST8PDT
    :P129_LOCAL_TZ: Asia/Calcutta
    SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE(:P129_CRT_START, 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),':P129_CRT_TZ') AT TIME ZONE ':P129_LOCAL_TZ' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    Error ORA-01882: timezone region not found
    Error ERR-1019 Error computing item default value: page=129 name=P129_LOCAL_CRT_START.
    OK
    with SQL Prompt
    SQL> SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE('&P129_CRT_START', 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),'&P129_CRT_TZ') AT TIME ZONE '&P129_LOCAL_TZ' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL;
    Enter value for p129_crt_start: 20-JUL-2007 11:45
    Enter value for p129_crt_tz: PST8PDT
    Enter value for p129_local_tz: Asia/Calcutta
    old 1: SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE('&P129_CRT_START', 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),'&P129_CRT_TZ') AT TIME ZONE '&P129_LOCAL_TZ' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    new 1: SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE('20-JUL-2007 11:45', 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),'PST8PDT') AT TIME ZONE 'Asia/Calcutta' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    TO_CHAR((SELECTFR
    21-JUL-2007 00:15
    I am not getting default value of the Item. Please Help.
    Regards,
    Rahul

    SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE(:P129_CRT_START, 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),(:P129_CRT_TZ)) AT TIME ZONE (:P129_LOCAL_TZ) FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    Workling

Maybe you are looking for

  • Geração do SPED Fiscal com crédito de ICMS em outras Base.

    Bom dia Pessoal. Gostaria de saber se alguém de vocês passou pela a seguinte situação abaixo. Ao gerar o arquivo de SPED na transação j_1befd o registro C190 esta sendo carregado para a seguinte situação abaixo, sendo assim não deveria esta sendo cre

  • Setting Dynamic Shape Colours in RTF

    Hi All, I've been looking around but I'm only able to find info on changing shape dimensions, replicating and what not but I need help on changing a shape color conditionally. XML example as follows: -<G_1> <OBJECTID>4515</OBJECTID> <OWNER_ID>6910</O

  • Flicker on monitor

    Hello,   As soon as I hook up the coaxial cable for the cable TV on my TV@nywhere my monitor starts to flicker. It doesn't matter if I'm watching TV or not. I have two computers and it happens on both of them. I ran a different cable from a different

  • Original .JPGS

    I dont want to view my pictures in iphoto and I cant seem to find the folder with all my original jpgs in my finder. Does anyone know how to access that folder?

  • Images showing up Blank in Preview.

    I have recently upgraded to Snow Leopard and have updated to .2 so now on 10.6.2. Whenever i open up an image in preview it is blank. i took a screenshot of the screen, blank too! I read another topic and they instructed the person to upgrade to 10.6