Adding OR condition gives ORA-00920 error

I am trying to write a xquery like this -
for $VAR3 in document("DS")/db/V_ViewName where (($VAR3/CODE eq $#PARAM of type xs:string) or (xf:empty($#PARAM of type xs:string)))
     return
     <stuff>
          <stuff_name>{  treat as xs:string(xf:data($VAR3/STUFF_NAME)) }</stuff_name>
     </stuff>
But when I run the query in data view builder I get the following error -
RemoteException occurred in server thread; nested exception is:
     java.rmi.RemoteException: EJB Exception:; nested exception is:
     java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-9: Problem while accessing relational database. (com.enosysmarkets.xmediator.wrappers.rdbwrapper.cursormgr.CursorManagerException:
(1-1)JDBC error occured:
java.sql.SQLException: ORA-00920: invalid relational operator
Why isn't this kind of query allowed?
When an empty query param is passed I want it to return all the rows from the view.
It should ignore the "where" if param is empty.
Any clues?
- vineet

This is CR185494 on LD8.1 - Bad sql generated when a condition is folded into a boolean and pushed to a database.
I will email the patch.
- Mike

Similar Messages

  • CTX_DDL.SYNC_INDEX  gives ORA-03113 error

    I am trying to use the CTX_DDL.SYNC_INDEX command in order to update the full Text Index on a table, which contains a word document as a binary object, but I get an ORA-03113 error every time I do this. I get the same error if the table contains an Excel file. It works perfectly OK if the table contains simple text files.

    Hi Barbara - thanks for your response.
    In answer to your questions;
    Oracle version is 9.2.0.1.0
    Table structure is created with following sql;
    CREATE TABLE DOCUMENTFILE
         (DOCUMENTFILEID      NUMBER (10,0) NOT NULL,
         DATA                LONG RAW,
         FILE_SIZE           NUMBER (10,0),
         FILENAME           VARCHAR2 (510),
         ENCRYPTIONKEY           VARCHAR2 (100),
         VALIDATIONKEY           VARCHAR2 (100),
         MIMETYPE           VARCHAR2 (255),
         FILEEXTENSION           CHAR (3),
         DELETED           NUMBER (1,0)
    Index is created with following command
    CREATE INDEX ORGANISATION_TEXT_INDEX
    ON COLLABORATOR.ORGANISATION(ORGANISATION_NAME)
    INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('');
    Resync command is as follows
    EXEC CTX_DDL.SYNC_INDEX('DOCUMENT_TEXT_INDEX');
    I am testing by runing the command via SQL Plus
    In response to question 'Are you using inso_filter or auto_filter? ' - I dont know
    Thanks for your help,
    Peter

  • Database give ORA-600 error after cold backup

    HI,
    I have oracle 10g install on linux system. i take cold backup of my database using
    sql> shutdown immediate
    and then copy all files to any other location.
    but when i start my database it gives me error like
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [136], [139], [], [], [], [], []
    Fri Dec  4 15:23:18 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00600: internal error code, arguments: [4193], [67], [70], [], [], [], [], []
    Fri Dec  4 15:23:19 2009
    Doing block recovery for file 2 block 1702
    Block recovery from logseq 13, block 3531 to scn 758385
    Fri Dec  4 15:23:19 2009
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 13 Reading mem 0
      Mem# 0 errs 0: /opt/oracle/fina/dbs/redo01.log
    Block recovery completed at rba 13.3532.16, scn 0.758386
    Doing block recovery for file 2 block 153
    Block recovery from logseq 13, block 3531 to scn 758436
    Fri Dec  4 15:23:19 2009
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 13 Reading mem 0
      Mem# 0 errs 0: /opt/oracle/fina/dbs/redo01.log
    Block recovery completed at rba 13.3612.16, scn 0.758437
    Fri Dec  4 15:23:19 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [67], [70], [], [], [], [], []
    Fri Dec  4 15:23:29 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00600: internal error code, arguments: [4193], [136], [139], [], [], [], [], []
    Fri Dec  4 15:23:29 2009
    Errors in file /opt/oracle/fina/bdump/fina_pmon_4410.trc:
    ORA-00474: SMON process terminated with error
    Fri Dec  4 15:23:29 2009
    PMON: terminating instance due to error 474
    Instance terminated by PMON, pid = 4410i have seen this happen sometime after cold backup database give errors. is taking cold backup of database is not safe.
    Please suggest.

    Umesh,
    Since it is case of Ora 600, for which only last solution is oracle support, but i would like to mention that your are getting ORA-00600: internal error code, arguments: [4193].... So, this 4193 is cause to read following links too:
    http://www.orafaq.com/forum/t/47048/2/ and. see Metalink note 153788.1 and 39282.1.
    Regards
    Girish Sharma

  • Apex 3.1.2.00.02 creates invalid export file (that gives ORA-20001 error)

    Hi
    I want to let you know, that sometimes APEX 3.1.2.00.0 creates invalid export file.
    Older apex 3.0 created correct file.
    For example: our application has page button, where "Optional URL Redirect" is:
    Page: &APP_PAGE_ID.
    Request: FLOW_XMLP_OUTPUT_R11531800061044170_et
    If we export application into file f110.sql and try to import it to the same workspace on the same server, we get error:
    {color:#0000ff}ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 28, column 111: PLS-00103: Encountered the symbol "_" when expecting one of the following: ) , * &amp; | = - + &lt; / &gt; at in is mod remainder not rem =&gt; .. &lt;an exponent (**)&gt; &lt;&gt; or != or ~= &gt;= &lt;= &lt;&gt; and or like LIKE2_ LIKE4_ LIKEC_ as between from using || multiset member SUBMULTISET_ The symbol &a
    {color}In exported f110.sql file the invalid section is:
    {color:#0000ff}wwv_flow_api.create_page_branch(
    p_id=&gt;11762805016890347 + wwv_flow_api.g_id_offset,
    p_flow_id=&gt; wwv_flow.g_flow_id,
    p_flow_step_id=&gt; 4,
    p_branch_action=&gt; 'f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R'||to_char({color}{color:#0000ff}{color:#ff0000}*10255206661122183_et*{color}+wwv_flow_api.g_id_offset)||':&DEBUG.:::',
    p_branch_point=&gt; 'AFTER_PROCESSING',
    p_branch_type=&gt; 'REDIRECT_URL',
    p_branch_when_button_id=&gt;11761415275883875+ wwv_flow_api.g_id_offset,
    p_branch_sequence=&gt; 10,
    p_branch_comment=&gt; 'Created 20-JUUNI-2008 12:05 by XXXX');{color}
    If we exported the same application in apex 3.0, this section was correct:
    {color:#0000ff}wwv_flow_api.create_page_branch(
    p_id=&gt;11762805016890347 + wwv_flow_api.g_id_offset,
    p_flow_id=&gt; wwv_flow.g_flow_id,
    p_flow_step_id=&gt; 4,
    p_branch_action=&gt; 'f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R*10255206661122183_et*:&DEBUG.:::',
    p_branch_point=&gt; 'AFTER_PROCESSING',
    p_branch_type=&gt; 'REDIRECT_URL',
    p_branch_when_button_id=&gt;11761415275883875+ wwv_flow_api.g_id_offset,
    p_branch_sequence=&gt; 10,
    p_branch_comment=&gt; 'Created 20-JUUNI-2008 12:05 by XXXX');{color}
    Best Regards,
    T&otilde;nu

    Thanks for pointing that out. We'll fix it. It does appear though, that in 3.0, the offset would not be added to the number part of the request value, so if you installed the application as a different application ID or into a different workspace, the request would have failed.
    Scott

  • Call a storedprocedure with CLOB input parameter gives ORA-24811 error

    Hi all,
         I am calling a storedprocedure from VB using ADO and OraOLEDB. Calling stored procedure as mention in OraOLED documentation.
         The procedure accepts a varchar and a CLOB parameter.
         While executing the store procedure its throw an error as “Error while trying to retrieve text for error ORA-24811”
         Then I executed a storeprocedure with only one CLOB out parameter. It is working fine.
         Oracle version is
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE 9.2.0.3.0 Production
    TNS for Linux IA64: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
         O/S: Linux.
         OLEDB version 9.0.1.0.1
         But exact code working with
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    PL/SQL Release 9.2.0.1.0 - Production
    CORE 9.2.0.1.0 Production
    TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
    NLSRTL Version 9.2.0.1.0 – Production
    O/S window 2003
    OLEDB version 9.0.1.0.1
    Can somebody help me on this?
    Regards,
    Mani
    Sample code of stored of stored procedure and VB function pasted below.
    StoreProcedure
    ============
    create or replace procedure xmltext (EmpName varchar2,EmpDetails CLOB)
    as
    begin
    insert into emptmp values (EmpName);
    end;
    VB function
    =========
    Dim Oracon As New ADODB.Connection
    Dim cmd As New ADODB.Command
    Dim param1 As New ADODB.Parameter
    Dim param2 As New ADODB.Parameter
    Dim empname As String
    Dim empdetails As String
    Set Oracon = CreateObject("ADODB.Connection")
    Oracon.ConnectionString = "Provider=OraOLEDB.Oracle;Data Source=testdb;User ID=newtest;Password= newtest;PLSQLRSet=1;SPPrmsLOB=1"
    Oracon.Open
    empname = "Mani"
    empdetails = "<EmpDet/>"
    Set cmd.ActiveConnection = Oracon
    cmd.CommandType = adCmdText
    Set param1 = cmd.CreateParameter("param1", adVarChar, adParamOutput, 10, empname)
    cmd.Parameters.Append param1
    Set param2 = cmd.CreateParameter("param2", adLongVarChar, adParamInput, 10000, empdetails)
    cmd.Parameters.Append param2
    cmd.CommandText = "{ call xmlText(?,?)}"
    cmd.Execute

    code for my procedure testblob is :
    create or replace procedure testblob(bpic blob) as
         val               blob;
         v_rdata          blob;
         v_start          BINARY_INTEGER := 1;
         v_buffer     BINARY_INTEGER := 32767;
    BEGIN
    select pic into val from my_pic where no=1 for update;
    DBMS_LOB.OPEN (val, DBMS_LOB.LOB_READWRITE);
    FOR i IN 1..CEIL(DBMS_LOB.GETLENGTH(bpic) / v_buffer)
         LOOP
         v_rdata :=DBMS_LOB.SUBSTR(bpic, v_buffer, v_start) ;
         DBMS_LOB.WRITEAPPEND(val, DBMS_LOB.GETLENGTH(v_rdata), v_rdata);
         v_start := v_start + v_buffer;
         END LOOP;
    dbms_lob.close(val);
    exception
         when others then
              raise_application_error(-20000,sqlerrm);     
    end;

  • EA1 - Export result of query to clipboard gives ORA-00904 error

    I ran the following SQL in a SQL Developer worksheet:
    create table EXTCHAR_TEST (TEST_COL VARCHAR2(2000));
    insert into EXTCHAR_TEST(TEST_COL) values ('(ASCII) ABCDEFGHIJKLMNOPQRSTUVWXYZ');
    insert into EXTCHAR_TEST(TEST_COL) values ('(UTF-8) ŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚ');
    insert into EXTCHAR_TEST(TEST_COL) values ('(UTF-8) ŗňŅŒŅ ňŁœ ōř ňʼnŇň łřŔŅ ŇŏŎŅ?');
    select TEST_COL, DUMP(TEST_COL,1016) from EXTCHAR_TEST;
    I then tried to right-click on the results and export them as CSV to the clipboard. Whenever I try this (possibly other ways too, I haven't tried) I get this error:
    An error was encountered performing the requested operation:
    ORA-00904: "DUMP(TEST_COL,1016)": invalid identifier
    00904. 00000 - "%s: invalid identifier"
    * Cause:
    * Action:
    Vendor code 904Error at Line: 2 Column: 16
    Edited by: gclough on Sep 28, 2009 4:03 PM

    Hi Barry,
    I think I'm using the latest "EA1" version, which I downloaded from here:
    [http://www.oracle.com/technology/software/products/sql/index21_EA1.html]
    I have just confirmed using the sample script, that the problem still exists. I was connected to a v9.2.0.5.0 database... if that makes any difference.
    * Run SQL
    * Right-Click on results
    * Export Data -> csv...
    * Clipboard
    * Click "Apply"
    * Error... :-(
    Greg.
    About
    Oracle SQL Developer 2.1.0.62
    Version 2.1.0.62
    Build MAIN-62.61
    Copyright © 2005,2009 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.2.36.54.96
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.62.61
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_11
    Oracle IDE     2.1.0.62.61
    Versioning Support     2.1.0.62.61
    Properties
    Name     Value
    ====     =====
    apple.laf.useScreenMenuBar     true
    awt.toolkit     sun.awt.windows.WToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    com.apple.macos.smallTabs     true
    com.apple.mrj.application.apple.menu.about.name     "SQL_Developer"
    com.apple.mrj.application.growbox.intrudes     false
    file.encoding     Cp1252
    file.encoding.pkg     sun.io
    file.separator     \
    http.agent     Mozilla/5.0 (Java 1.6.0_11; Windows XP 5.1 x86; en_US) ICEbrowser/v6_1_3
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     9450010258892
    ide.build     MAIN-62.61
    ide.conf     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.config_pathname     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     true
    ide.java.minversion     1.6.0_04
    ide.launcherProcessId     5404
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     C:\Documents and Settings\Greg\Application Data\SQL Developer
    ide.pref.dir.base     C:\Documents and Settings\Greg\Application Data
    ide.product     oracle.sqldeveloper
    ide.shell.enableFileTypeAssociation     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\sqldeveloper.exe
    ide.splash.screen     splash.gif
    ide.startingArg0     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\sqldeveloper.exe
    ide.startingcwd     C:\Documents and Settings\Greg
    ide.user.dir     C:\Documents and Settings\Greg\Application Data\SQL Developer
    ide.user.dir.var     IDE_USER_DIR
    ide.work.dir     C:\Documents and Settings\Greg\My Documents\SQL Developer
    ide.work.dir.base     C:\Documents and Settings\Greg\My Documents
    java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob     sun.awt.windows.WPrinterJob
    java.class.path     ..\..\ide\lib\ide-boot.jar
    java.class.version     50.0
    java.endorsed.dirs     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\endorsed
    java.ext.dirs     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
    java.home     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre
    java.io.tmpdir     C:\DOCUME~1\Greg\LOCALS~1\Temp\
    java.library.path     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;c:\Program Files\Microsoft IntelliType Pro\;C:\progra~1\Oracle\product\11.1.0\db_1\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Progra~1\Oracle\product\11.1.0\client_2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Microsoft Shared\Windows Live
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_11-b03
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    java.vendor     Sun Microsystems Inc.
    java.vendor.url     http://java.sun.com/
    java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
    java.version     1.6.0_11
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     11.0-b16
    jdbc.driver.home     /C:/progra~1/Oracle/product/11.1.0/db_1/
    jdbc.library     /C:/progra~1/Oracle/product/11.1.0/db_1/jdbc/lib/ojdbc6.jar
    line.separator     \r\n
    oracle.home     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.jdbc.Trace     true
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /C:/progra~1/Oracle/product/11.1.0/db_1/jlib/orai18n.jar
    os.arch     x86
    os.name     Windows XP
    os.version     5.1
    path.separator     ;
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sqldev.debug     false
    sun.arch.data.model     32
    sun.boot.class.path     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\resources.jar;C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\rt.jar;C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\jsse.jar;C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\jce.jar;C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\charsets.jar;C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\classes
    sun.boot.library.path     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\bin
    sun.cpu.endian     little
    sun.cpu.isalist     pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    sun.desktop     windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level     Service Pack 3
    svnkit.sax.useDefault     true
    user.country     US
    user.dir     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\sqldeveloper\bin
    user.home     C:\Documents and Settings\Greg
    user.language     en
    user.name     Greg
    user.timezone     America/Los_Angeles
    user.variant     
    windows.shell.font.languages     
    Extensions
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Check For Updates     oracle.ide.webupdate     11.1.1.2.36.54.96     Loaded
    Code Editor     oracle.ide.ceditor     11.1.1.2.36.54.96     Loaded
    Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.2.36.54.96     Loaded
    Database Object Explorers     oracle.ide.db.explorer     11.1.1.2.36.54.96     Loaded
    Database UI     oracle.ide.db     11.1.1.2.36.54.96     Loaded
    Diff/Merge     oracle.ide.diffmerge     11.1.1.2.36.54.96     Loaded
    Extended IDE Platform     oracle.javacore     11.1.1.2.36.54.96     Loaded
    External Tools     oracle.ide.externaltools     11.1.1.2.36.54.96     Loaded
    File Support     oracle.ide.files     11.1.1.2.36.54.96     Loaded
    File System Navigator     oracle.sqldeveloper.filenavigator     11.1.1.62.61     Loaded
    Help System     oracle.ide.help     11.1.1.2.36.54.96     Loaded
    History Support     oracle.jdeveloper.history     11.1.1.2.36.54.96     Loaded
    Import/Export Support     oracle.ide.importexport     11.1.1.2.36.54.96     Loaded
    Index Migrator support     oracle.ideimpl.indexing-migrator     11.1.1.2.36.54.96     Loaded
    JDeveloper Runner     oracle.jdeveloper.runner     11.1.1.2.36.54.96     Loaded
    Log Window     oracle.ide.log     11.1.1.2.36.54.96     Loaded
    Navigator     oracle.ide.navigator     11.1.1.2.36.54.96     Loaded
    Object Gallery     oracle.ide.gallery     11.1.1.2.36.54.96     Loaded
    Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.62.61     Loaded
    Oracle Data Modeler Reports     oracle.sqldeveloper.datamodeler_reports     11.1.1.62.61     Loaded
    Oracle Database Browser     oracle.sqldeveloper.thirdparty.browsers     11.1.1.62.61     Loaded
    Oracle IDE     oracle.ide     11.1.1.2.36.54.96     Loaded
    Oracle SQL Developer     oracle.sqldeveloper     11.1.1.62.61     Loaded
    Oracle SQL Developer Data Modeler Viewer     oracle.datamodeler     2.0.0.574     Loaded
    Oracle SQL Developer Extras     oracle.sqldeveloper.extras     1.1.1.62.61     Loaded
    Oracle SQL Developer Migrations     oracle.sqldeveloper.migration     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Antlr3 Translation Core     oracle.sqldeveloper.migration.translation.core_antlr3     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - DB2     oracle.sqldeveloper.migration.db2     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Microsoft Access     oracle.sqldeveloper.migration.msaccess     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - MySQL     oracle.sqldeveloper.migration.mysql     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - SQLServer     oracle.sqldeveloper.migration.sqlserver     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Sybase     oracle.sqldeveloper.migration.sybase     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Teradata     oracle.sqldeveloper.migration.teradata     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Translation Core     oracle.sqldeveloper.migration.translation.core     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Translation Db2     oracle.sqldeveloper.migration.translation.db2     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Translation UI     oracle.sqldeveloper.migration.translation.gui     11.1.1.62.61     Loaded
    Oracle SQL Developer Reports     oracle.sqldeveloper.report     11.1.1.62.61     Loaded
    Oracle SQL Developer SearchBar     oracle.sqldeveloper.searchbar     11.1.1.62.61     Loaded
    Oracle SQL Developer TimesTen     oracle.sqldeveloper.timesten     2.0.0.62.61     Loaded
    Oracle SQL Developer Unit Test     oracle.sqldeveloper.unit_test     11.1.1.62.61     Loaded
    Oracle SQL Developer Worksheet     oracle.sqldeveloper.worksheet     11.1.1.62.61     Loaded
    Oracle XML Schema Support     oracle.sqldeveloper.xmlschema     11.1.1.62.61     Loaded
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.2.36.54.96     Loaded
    Peek     oracle.ide.peek     11.1.1.2.36.54.96     Loaded
    Persistent Storage     oracle.ide.persistence     11.1.1.2.36.54.96     Loaded
    QuickDiff     oracle.ide.quickdiff     11.1.1.2.36.54.96     Loaded
    Replace With     oracle.ide.replace     11.1.1.2.36.54.96     Loaded
    Runner     oracle.ide.runner     11.1.1.2.36.54.96     Loaded
    Snippet Window     oracle.sqldeveloper.snippet     11.1.1.62.61     Loaded
    Sql Monitoring Project     oracle.sqldeveloper.sqlmonitor     11.1.1.62.61     Loaded
    Tuning     oracle.sqldeveloper.tuning     11.1.1.62.61     Loaded
    VHV     oracle.ide.vhv     11.1.1.2.36.54.96     Loaded
    Versioning Support     oracle.jdeveloper.vcs     11.1.1.2.36.54.96     Loaded
    Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.2.36.54.96     Loaded
    Virtual File System     oracle.ide.vfs     11.1.1.2.36.54.96     Loaded
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.2.36.54.96     Loaded
    audit     oracle.ide.audit     11.1.1.2.36.54.96     Loaded
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.2.36.54.96     Loaded
    Edited by: gclough on Sep 30, 2009 4:39 PM

  • Database Link gives Ora-12535 error

    I have Oracle 9i Release 2 on NT 4 box. I am attempting to connect to an Oracle 8i Database via a database link. I am able to connect to the database using my username and password throught Toad. I can see the tables that I am trying to query through the link. I have tested the service through the Oracle Net Manager and it was successful. Anytime I try to use the database link, I get the "ORA-12535 TNS: Operation timed out" message. Does anyone know if this is a bug in Oracle 9i Release 2 since the link worked in Oracle 9i Release 1? Is there a workaround for this problem?

    spajdy wrote:
    You must have defined DGPAPROD.WORLD in tnsnames.oar on server where you DB is runnig.Hello there,
    Thanks a lot for this nice solution. In fact I had to add the connection parameters into the tnsnames.ora file of the server on which the link was created (not the tnsnames.ora of my oracle client stored on the localhost)
    After a bit googling I found another solution that allows to create the database link:
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING '(DESCRIPTION =  (ADDRESS_LIST =  (ADDRESS = (COMMUNITY=tcp.world)
    (PROTOCOL=TCP)(HOST=ip_adresse)(PORT=1521)))(CONNECT_DATA = (SID = GPAPROD)))';Thanks a lot for your help!
    Kind Regards,
    Dariyoosh
    Edited by: dariyoosh on 18 nov. 2009 07:15

  • Formula variable used in exception and condition - gives a check error

    The same formula variable is used in a condition and exception within a query. When I click on "check", I get the message "Variable <myvar> Is Used By More Than One Infoobject". The variable is a formula variable, processed by User Entry/Default Value, with optional entry, ready for input, Dimension "number", default value -0.01.  However, the query still saves, generates and executes without problem.
    This is with BW 7.0, SP 14.  And with query designer 3.5, version 3500.7.572
    I'd be grateful if a few people could try to reproduce this, letting me know their version.  To reproduce it:
    Create a query. Create formula variable processed by User Entry/Default Value, with optional entry, ready for input, Dimension "number", default value -0.01. Create a condition using the  variable. Create an exception using the variable. Click on Check. Save and execute the query.
    Thanks
    Matt

    It is a warning and you can ignore it , if in query execution you get correct result / output...(then it implies u r on safe side)
    But if you are so much concerned about warning then as a workaround just create another Formulae variable and use it in Condition and use the previous formulae variable for Exception.
    This way you will have 2 variables for 2 different purposes
    and you will get rid of the warning message.
    So far if you get the correct output of query then there is no need to worry.
    Edited by: kartikey on Dec 20, 2007 1:45 PM

  • Gives ORA-12154 error, when trying to connect as sysdba

    Hi Gurus,
    I am new to oracle. I have successfully install Oracle Database 10gR2 on RHEL4.
    Everyghing is working fine.
    I found that loging through sqlplus not success as sysdba.(ORA-12154) But as a normal user I can loging through sqlplus. Anyway I can loging as sysdba through emctl console.
    Can anyone help on this pls. Urgent.......................

    You're welcome.
    I dont know how this happened Probably your old password had some special characters within it, that's why I wanted to know if connecting without password did work. Then I would have advised you to change your password (avoiding special characters...).

  • ORA-00205 Error

    i have installed Oracle 8.1.5 Server on Windows 2000 Server, the installation goes well, i have created Database ORCL, now when i connect it it gives ORA-12638 Error however i am able to solve it by modifiying the sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    but now again i am getting error when i go to SVRMGRL and start the Database with STATUP option it gives error
    ORA-00205.
    now when i see the Control files there is no Control file over there as mentioned in INIT.ORA file.
    Pl. tell where is the Problem

    It seems that the controlfiles are missing from the location.
    See, if they are are moved or renamed by mistake. If so, then, move them to the exact location, mentioned in init.ora file.
    If not, you can always create a new controlfile, refer oracle docs on how to create a new controlfile.
    Jaffar

  • Error: ORA-00920: invalid relational operator (WWV-16016)

    Hi,
    When I try to query in the form, I'm getting the following error
    An unexpected error occurred: ORA-00920: invalid relational operator (WWV-16016).
    The form has a field of type varchar2 with lov attached to it. This error is happening only if I enter characters more than 40 or select a value which has more than 40 characters from the lov.
    Anbody had this problem?..Is there a solution for this?..Help would be appreciated.
    Thanks
    PJ

    I figured out the problem and it seems like if the value has any 'IN' or 'BETWEEN' and try to query this error is happening and it's not because of character length. I think Portal assumes that relational operator is entered and tries to query based on those words. Is it a bug in the Portal?..
    Thanks
    PJ

  • Running a Disciverer report gives the following error ORA-20001

    While running one of the discoverer reports under a certain responsibility i got the following error
    ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'. SQLCODE = -20001 SQLERROR = ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, fnd.plsql.MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, fnd.plsql.MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, fnd.plsql.MO_GLOBAL.SET_ORG_ACCESS_INTERNAL, N, ERRNO, -25153, N, REASON, ORA-25153: Temporary Tables Location: http://batcrmt2.btc.com.bh:8075/discoverer4i/viewer?Connect=[APPS_SECURE]batcrm1_ebst&SessionCookieName=batcrm1_ebst&eul=EUL4_US&opendbid=PDC_LISTING_BY_CHEQUE_NUMBER&FrameDisplayStyle=separate&acf=222206780&NLS_LANG=AMERICAN_AMERICA&NLS_DATE_FORMAT=DD-MON-RRRR&NLS_NUMERIC_CHARACTERS=.%2C&NLS_DATE_LANGUAGE=AMERICAN&NLS_SORT=BINARY
    running reports under different responsibilities does give any errors ,
    Any suggestions why ?

    ORA-20001 isn't an Oracle error message it was coded into your application by a developer: Look it up.
    Consider too the following:
    EXCEPTION
       WHEN NO_DATA_FOUND THEN NULL;so if the employee identifier is not found ... is this really what you want? If an employee isn't valid shouldn't you know it?

  • Gives  ORA-12560: TNS: protocol adapter error when installing oracle 10g

    I tried to install oracle 10g r2 in server 2008. but it gives ORA-12560: TNS: protocol adapter error when installing. how I can fix this issue??? please help me ASAP. because its urgent.
    thanks in advance.
    chamara

    Welcome to the forums !
    Pl indicate which version of 10g you are installing and on which version of Win 2008. Neither 10gR1 nor 10gR2 are certified to be installed on Win 2008 R1, AFAIK.
    For 10gR2, only 10.2.0.5 is certified for Win 2008 R2 - see MOS Doc 1173433.1 (How to Install Oracle 10.2.0.5 on MS Windows 7 / Windows 2008R2)
    Also see MOS Doc 740926.1 (Where can I find the Database / Client software to download for Microsoft Vista, or Windows 2008R1?).
    Both 10gR1 and 10gR2 are now in extended support - is there a reason you are not using 11gR2 ?
    HTH
    Srini

  • I am not able to send mails through Yahoo APP.It gives me an error msg :"the sender address has ben rejected by the server ".I tried adding username and password in the SMTP server settings,But those optiopns are greyed out.

    I am not able to send mails through Yahoo APP. It gives me an error msg :"the sender address has ben rejected by the server ".
    I tried adding username and password in the SMTP server settings,But those optiopns are greyed out.
    So, i am not able to enter anything in fields under SMTP server settings

    You probably have changing settings disabled in Restrictions.

  • Create database fails with error ORA-01505: error in adding log files

    hi all,
    hope someone can help me out, I'm trying to create a database using a SQL script, the content of the script is:
    create database testora
    user sys identified by oracle
    user system identified by oracle
    logfile group 1 ('/u01/app/oracle/oradata/testora/redo01a.log', '/u02/app/oracle/oradata/testora/redo01b.log') size 100m blocksize 512 reuse,
         group 2 ('/u01/app/oracle/oradata/testora/redo02a.log', '/u02/app/oracle/oradata/testora/redo02b.log') size 100m blocksize 512 reuse,
         group 3 ('/u01/app/oracle/oradata/testora/redo03a.log', '/u02/app/oracle/oradata/testora/redo03b.log') size 100m blocksize 512 reuse,
    maxlogfiles 5
    maxlogmembers 5
    maxdatafiles 100
    character set US7ASCII
    national character set AL16UTF16
    extent management local
    datafile '/u01/app/oracle/oradata/testora/system01.dbf' size 400m reuse
    sysaux datafile '/u01/app/oracle/oradata/testora/sysaux01.dbf' size 400m reuse
    default tablespace users
         datafile '/u02/app/oracle/oradata/testora/users01.dbf' size 500m reuse autoextend on maxsize unlimited
    default temporary tablespace tempts1
         tempfile '/u01/app/oracle/oradata/testora/temp01.dbf' size 20m reuse autoextend on maxsize 4g
    undo tablespace undotbs1
         datafile '/u01/app/oracle/oradata/testora/undotbs01.dbf' size 200m reuse autoextend on maxsize unlimited
    It fails in creating the database with the following output:
    SQL> @/home/oracle/Oracle_Scripts/testora_db_script.sql
    create database testora
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-01501: CREATE DATABASE failed
    ORA-01505: error in adding log files
    ORA-01184: logfile group 1 already exists
    Process ID: 3486
    Session ID: 1 Serial number: 3

    sorry to revive this thread but i have one more issue with this. I created a database with DBCA insetead of CREATE DATABASE command and selected option for Fast Recovery Area space. This automatically set initialization parameter db_recovery_file_dest and db_recovery_file_dest_size, but did not create a OMF redo log group, but instead created three redo log groups with 1 member each.
    select * from v$logfile returns:
    1          ONLINE     /u01/app/oracle/oradata/testdb2/redo01.log     NO
    2          ONLINE     /u01/app/oracle/oradata/testdb2/redo02.log     NO
    3          ONLINE     /u01/app/oracle/oradata/testdb2/redo03.log     NO
    Any idea why if creating a database with create database command and specifying db_recovery_file_dest creates an OMF redo log group and with DBCA it doesn't?

Maybe you are looking for