ORA-00904 -- Export Problem

Hi,
While trying to export with oracle 9.2.0.7.0 in XP I am able to export the tables with the below error
EXP-00056: ORACLE error 904 encountered
ORA-00904: "SYS"."DBMS_EXPORT_EXTENSION"."FUNC_INDEX_DEFAULT": invalid identifier
. . exporting table emp_jan 4 rows exported
Please help me in this regard.

What is the output of the following:
SQL> desc sys.DBMS_EXPORT_EXTENSION
SQL> select * from V$version ;

Similar Messages

  • 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

  • Oracle 8i full export fails (ORA-00904)

    Hello Guru's.
    I encounter this problem when i try a full export.
    Database version is 8.1.7.4 and the export utility is also 8.1.7.4
    When i try exporting it generates a ORA-00904 error. I traced on this error and see the following:
    *** SESSION ID:(8.57) 2007-03-21 10:33:53.738
    *** 2007-03-21 10:33:53.738
    ksedmp: internal or fatal error
    ORA-00904: invalid column name
    Current SQL statement for this session:
    SELECT GRANTOR, GRANTORID, GRANTEE, PRIV, WGO, ISDIR, TYPE FROM SYS.EXU8GRN WHERE OBJID = :1 ORDER BY WGO DESC, SEQUENCE
    I checked the compatible parameter:
    (compatible string 8.1.7)
    Any reply greatly appreciated.

    Yeah, well, maybe running catexp.sql will solve that .....
    And it did.
    But more stuff is coming up, proberly when i try to import this thingie into Oracle 10g.
    Thanks, and reply!

  • "ORA-00904: "POLTYP": invalid identifier" in export

    First I got errors when I did the export with an export tool of Release 11.1.0.7.0 and there were lot of ORA-00904 and ORA-01003 like the following:
    XP-00008: ORACLE error 904 encountered
    ORA-00904: "MAXSIZE": invalid identifier
    . . exporting table XRATE_INFO
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed
    Then I tried to do export with another version of export tool (Release 10.2.0.4.0) The errors changed to the following:
    .about to export FM's tables via Direct Path...
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: "POLTYP": invalid identifier
    EXP-00000: Export terminated unsuccessfully
    The export tool I used is of Release 10.2.0.4.0
    Has anyone had similar problems before?
    Edited by: 910547 on Jan 26, 2012 7:31 PM

    910547 wrote:
    First I got errors when I did the export with an export tool of Release 11.1.0.7.0 and there were lot of ORA-00904 and ORA-01003 like the following:
    XP-00008: ORACLE error 904 encountered
    ORA-00904: "MAXSIZE": invalid identifier
    . . exporting table XRATE_INFO
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed
    Then I tried to do export with another version of export tool (Release 10.2.0.4.0) The errors changed to the following:
    .about to export FM's tables via Direct Path...
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: "POLTYP": invalid identifier
    EXP-00000: Export terminated unsuccessfully
    The export tool I used is of Release 10.2.0.4.0
    Has anyone had similar problems before?
    Edited by: 910547 on Jan 26, 2012 7:31 PMThis possibly a bug raise SR with Oracle Support

  • ORA-00904 when exporting job queues

    Hi!
    I have a 8.1.6.3.7 database (although you only see 8.1.6.3.0) when you log in) which I'm trying to export.
    Everything is fine until the time comes to export job queues. I then get the following error messages:
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: invalid column name
    EXP-00000: Export terminated unsuccessfully
    Now, I've just spent my morning looking through the discussion forums to see if anyone else had this error, but no luck.
    What I've done:
    - Rerun catexp: no change
    - ensured that I'm running the same version of the RDBMS and export (v8.1.6.3(.7) and 8.1.6.3.0): ok?
    Any ideas anyone?
    Thanks,
    Kevin

    Hi Prathmesh,
    in fact I saw this very thread before and I made sure that both solutions were applied. Moreover as I said patch 6991626 had already been applied earlier, precisley to fix this problem, and I've had been able to successfully export other albeit somewhat smaller schemas (500M instead of 3GB) in the last few months. This is why I was so puzzled to see that exact bug raise its ugly head again. As far as I can tell I didn't do any modification to the DB since that last patch in nov. 2009. In fact the DB has been running pretty much untouched since then.
    I even tried yestereday to reinstalled the patch again; opatch does the operation gracefully, first rolling back the patch then reapplying it again, with only a warning about the patch being already present. However the pb does not get fixed any better.
    Thanks a lot for your help,
    Chris

  • Ora-00904 error during Export

    Hi ,
    I am facing a problem in export utility 8i database, this is occuring after i installed the packaes required for java stored procedure, any suggestion is appreciated
    L:\>exp userid=ubs/ubs owner=scott file=test.dmp log=test.log
    Export: Release 8.1.7.0.0 - Production on Tue Jul 9 13:37:31 2002
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    Export done in WE8ISO8859P1 character set and UTF8 NCHAR character set
    server uses UTF8 character set (possible charset conversion)
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SCOTT
    . exporting object type definitions for user SCOTT
    About to export SCOTT's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export SCOTT's tables via Conventional Path ...
    . . exporting table TEMP 0 rows exported
    . exporting synonyms
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: invalid column name
    EXP-00000: Export terminated unsuccessfully
    thankyou in advance for a reply
    Regards
    bala

    It might be that you have not ran the exp script to build the correct views.
    Some applications build tables with double quotes around them to force the table or view names to lower case. exp doesn't play well with that. You may have to go through and rename all the objects that were creates case specific.

  • Materialized view problem ORA-00904: "from$_subquery$_ error

    Hello everyone,
    I've created data warehouse star schema and I'm trying to set up materialized view. DBMS_MVIEW.EXPLAIN_MVIEW passes and also the select query passes and is executed with no problems but when I try to CREATE MATERIALIZED VIEW... then error ORA-00904: "from$_subquery$_003"."SERVICE_ID_2_2": invalid identifier pops-up. How does Oracle 9i (9.2.0.1.0) managed to do this ? How to make it to work ?
    This is the query, and the schema:
    CREATE MATERIALIZED VIEW analiza_profitabilnosti
    BUILD IMMEDIATE
    REFRESH FAST
    ON COMMIT
    AS
    select
    GROUPING_ID(t.y,t.q,t.m,t.w,t.d,s.service_type,s.service_id,c.customer_category) as g_id,
    t.y, t.q, t.m, t.w, t.d,
    s.service_type , s.service_id ,
    c.customer_category ,
    COUNT(*) as c_star,
    SUM(cost) cost, COUNT(cost) c_cost,
    SUM(number_of_units) number_of_units, COUNT(number_of_units) as c_number_of_units
    from fact f
    inner join timeline t on f.datum = t.datum
    inner join service s on f.service_id = s.service_id
    inner join customer_category c on f.customer_category=c.customer_category
    group by
    ROLLUP(t.y, t.q, t.m, t.w, t.d),
    ROLLUP(s.service_type, s.service_id),
    ROLLUP (c.customer_category)
    and the schema:
    FACT (
    DATUM DATE,
    HOST_ID NUMBER,
    SERVICE_ID NUMBER (5),
    CALLED_PREFIX_ID NUMBER (10),
    CUSTOMER_CATEGORY NUMBER,
    TRAFIC_PERIOD_ID NUMBER (5),
    CALL_DURATION NUMBER,
    COST NUMBER,
    NUMBER_OF_UNITS NUMBER,
    NUMBER_OF_CALLS NUMBER)
    TIMELINE (
    Y VARCHAR2 (5),
    Q VARCHAR2 (5),
    M VARCHAR2 (5),
    W VARCHAR2 (5),
    D VARCHAR2 (5),
    DATUM DATE NOT NULL)
    SERVICE (
    SERVICE_ID NUMBER (5) NOT NULL,
    SERVICE_CODE VARCHAR2 (15) NOT NULL,
    SERVICE_NAME VARCHAR2 (63),
    SERVICE_TYPE NUMBER (5),
    SERVICE_TYPE_CODE VARCHAR2 (4) NOT NULL,
    S_ID NUMBER (5))
    CUSTOMER_CATEGORY (
    CUSTOMER_CATEGORY_NAME VARCHAR2 (65) NOT NULL,
    CUSTOMER_CATEGORY NUMBER NOT NULL)
    Thanks,
    Igor

    Yes, thank you. I suspected that version is problem, and patch 9.2.0.6 helped. It works under 9.2.0.6

  • [Designer 10.1.2.0.2] ORA-00904 on EXPORT

    Im getting errors on export with Repository Administration Utility :
    Connected to: Oracle Database 10g Release 10.1.0.2.0 - Production
    Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    Note: grants on tables/views/sequences/roles will not be exported
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user DESIGNER
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user DESIGNER
    About to export DESIGNER's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export DESIGNER's tables via Conventional Path ...
    . . exporting table CDDL_TMP_TBL 0 rows exported
    EXP-00056: ORACLE error 904 encountered
    ORA-00904: "SYS"."DBMS_EXPORT_EXTENSION"."FUNC_INDEX_DEFAULT" : identificateur non valide
    . . exporting table CDI_CLASS_SET_CODE_TYPES 5 rows exported
    . . exporting table CDI_CODE_SECTION_TYPES 5 rows exported
    . . exporting table CDI_DELTAB 0 rows exported
    . . exporting table CDI_DFLT_USER_PREFS 1102 rows exported
    EXP-00056: ORACLE error 904 encountered
    ORA-00904: "SYS"."DBMS_EXPORT_EXTENSION"."FUNC_INDEX_DEFAULT" : identificateur non valide
    . . exporting table CDI_DFLT_USER_PREF_USAGES 1159 rows exported
    EXP-00056: ORACLE error 904 encountered
    ORA-00904: "SYS"."DBMS_EXPORT_EXTENSION"."FUNC_INDEX_DEFAULT" : identificateur non valide
    . . exporting table CDI_FORMS 29 rows exported
    EXP-00056: ORACLE error 904 encountered
    ORA-00904: "SYS"."DBMS_EXPORT_EXTENSION"."FUNC_INDEX_DEFAULT" : identificateur non valide
    . . exporting table CDI_FUNNET 0 rows exported
    . . exporting table CDI_GENERATION_TARGETS 2 rows exported
    . . exporting table CDI_GEN_TARGET_PROPERTIES 2 rows exported
    . . exporting table CDI_LANGUAGE_DEFINITIONS 20 rows exported
    EXP-00056: ORACLE error 904 encountered
    ORA-00904: "SYS"."DBMS_EXPORT_EXTENSION"."FUNC_INDEX_DEFAULT" : identificateur non valide
    . . exporting table CDI_MODNET 0 rows exported
    . . exporting table CDI_NAV 126 rows exported
    EXP-00056: ORACLE error 904 encountered
    ORA-00904: "SYS"."DBMS_EXPORT_EXTENSION"."FUNC_INDEX_DEFAULT" : identificateur non valide
    . . exporting table UPG_SDD_UES 0 rows exported
    EXP-00056: ORACLE error 904 encountered
    ORA-00904: "SYS"."DBMS_EXPORT_EXTENSION"."FUNC_INDEX_DEFAULT" : identificateur non valide
    . . exporting table UPG_SDW_ACCESS_RIGHTS 8 rows exported
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully with warnings.
    Ive used search without success !
    Does someboby know what it is about ?
    Thks
    .

    The error could be due to mismatch between the database version and the import/export utility. You have a 10.1.0.2.0 DB but the version of the imp/exp utilities supplied along with Designer 10.1.2.0.2 is 10.1.0.4. You could use 9i imp/exp utilities and export. Another possible method would be to export all workareas in the repository from the RON.
    -Praveen

  • ORA-00904 when using export

    I am trying to run the export utility (NT machine) to export specified tables to a dmp file. The export starts but does not complete successfully due to the ORA-00904 error for having an invalid column name. I looked at the tables I've tried to export and the column names are valid (less than or equal to 30 characters and alphanumeric).
    This is the params file I am using:
    TABLES=(EMP)
    LOG=bob.log
    INDEXES=Y
    ROWS=Y
    COMPRESS=Y
    FEEDBACK=10
    FILESIZE=100K
    FILE=bob.dmp
    any information is much appreciated
    Thanks

    Marco,
    I was trying to run the export on an 8.1.7 client machine on an 8.1.6 database. I ran the export on the database server machine locally and it worked fine. It looks like I need to get the versions on the clients to match the database. Thanks for your help.

  • Oracle 8i Export problem

    hi,
    i am trying to export a user 'tjprd' using the exp uttility of oracle 8i Release 8.1.5.0.0 and getting problem while exporting synonyms...following are the lines from
    the log file:
    Connected to: Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
    With the Partitioning and Java options
    PL/SQL Release 8.1.5.0.0 - Production
    Export done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user TJPRD
    . exporting object type definitions for user TJPRD
    About to export TJPRD's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export TJPRD's tables via Conventional Path ...
    . . exporting table S_WORKORDER_ITEM 486 rows exported
    . exporting synonyms
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: invalid column name
    EXP-00000: Export terminated unsuccessfully
    I will be greatful if anyone can help me.
    Thanks
    Imran

    Check for synonyms named DBMS_JAVA and DBMS_JAVA_TEST. If there is a synonym by either of these names, but there is not a corresponding DBMS_JAVA or DBMS_JAVA_TEST package, drop the synonym and rerun the export.

  • Repository Backup - Export problem

    Hi all,
    trying to backing up a repository for exporting purpose, the process begins but then I always get the same error for all tables.
    Attached is the first section of the log file, showing the errors.
    I've checked the requirements and the EXP executable is the right one (817 bin directory)
    Kind Regards
    Connesso a: Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    Esportazione eseguita nel set di caratteri WE8ISO8859P1 e nel set di caratteri NCHAR WE8ISO8859P1
    Attenzione: autorizzazioni su tabelle/viste/sequenze/ruoli non esportate
    In corso esportazione dei dati degli utenti specificati ...
    . esportazione oggetti e azioni procedurali pre-schema in corso
    . esportazione dei nomi di libreria delle funzioni esterne per l'utente ADMINISTRATOR
    . esportazione delle definizioni dei tipi di oggetto per l'utente ADMINISTRATOR
    In corso esportazione degli oggetti di ADMINISTRATOR ...
    . in corso esportazione dei link del database
    . in corso esportazione delle sequenze
    . in corso esportazione delle definizioni di cluster
    . in corso esportazione delle tabelle di ADMINISTRATOR tramite percorso convenzionale...
    . in corso esportazione della tabella CDDL_TMP_TBL
    EXP-00008: errore ORACLE 904 rilevato
    ORA-00904: invalid column name
    ... the same error occurs for all tables
    null

    I had then same problem after the database was upgraded to 8.1.7, neither 8.1.6 or 8.1.7 exp would work. My work around was to extract the application and extensions and import into a new repository.
    Steve

  • ORA-00904 while reading from Excel with ODI

    Hi all
    I'm trying to read data from some simple Excel files and to write the data into a 10g DB, but I get errors that don't make sense to me.
    Hope someone can give me an idea how I could get around them.
    For some files the transfer works as expected. For another one I get a ORA-00904 (invalid identifier) Message
    My Excel file that makes problems looks like that:
    __A___ __B___
    String1 String3
    String2 String4
    Through "ODI Reverse" I get a Datastore with one table containing the 2 columns F1 and F2 (both of type VARCHAR).
    Then I export this table and import it into my target datastore and set the adequate datatype (VARCHAR2).
    The next step is to create an interface and to use the two tables there (not to forget to define one column as key).
    As LKM I'm using SQL-to-SQL and as IKM I use Oracle-Incremental-Update.
    This process works fine for most of my Excel files but for the simple one described above ODI fails with ORA-00904.
    I tried to run the generated SQL directly on the DB with JDeveloper and the error occurs this way as well. The generated SQL is:
    /* DETECTION_STRATEGY = NOT_EXISTS */
    insert /*+ APPEND */ into TEST_TARGET.I$_FEASIBILITY
         F1,
         F2,
         IND_UPDATE
    select      
         C1_F1     F1,
         C2_F2     F2,
         'I' IND_UPDATE
    from     TEST_TARGET.C$_0FEASIBILITY
    where     (1=1)
    and not exists (
         select     'X'
         from     TEST_TARGET.FEASIBILITY T
         where     T.F1     = F1
              and     ((C2_F2 = T.F2) or (C2_F2 IS NULL and T.F2 IS NULL))
    Error Message:
    Error at Command Line:26 Column:44
    Error report:
    SQL Error: ORA-00904: "T"."F2": invalid identifier
    00904. 00000 - "%s: invalid identifier"
    *Cause:   
    *Action:
    Line 26 is the last but one and Column 44 is after the "or".
    In the beginning I used column headings, but I deleted them all after I had run into issues ORA-00904.
    Meanwhile I think that the root cause must be s.th. different as I'm only using the generic names and I can't believe that T.F2 is a reserved word.
    Any ideas? It would help me a lot to get this issue fixed.
    Thanks
    Rob

    Hi ,
    Try to use Double Quote (") in the mapping field of target datastore.
    Hope this help
    Thanks.

  • Getting ora:00904 invalid indentifier error while running i query

    Hi,
    I have a remote database and local database both are oracle 10gR2.Now i have written the below mentioned query in my local database and is working fine,but in case remote database it is throughing error ora:00904 invalid indentifier.
    I had export the dump from remote db and import it on my local db and i tried the same and it is working fine on local after that also.
    As i believe that this error usually come for column name not exist or column name or it's length or for any special character in column name of the table.But as i said it is working fine on local db but not in remote db though i am using the same dump for local and remote.
    Though when i am querying the table i can able to fetch data for the any record but when i am using the below mentioned query for the same i am getting the error.As i am doing this to fecth the data for child parent related relationship.
    Can any one suggest is there anything related to configaration or something else.
    Please do let me know if you do want some more information on the query what i am doing inside of it.
    Rgds,
    Anit
    Edited by: Anit A. on Sep 1, 2008 2:32 AM
    Edited by: Anit A. on Sep 1, 2008 2:33 AM

    WITH t
    AS
    SELECT decode(t.spnlevel
    ,3,t.u_quotesdtlid
    ,2,decode((select count(*)
    from u_quotesdtl t2
    where t2.u_quotesdtlid = t.u_quotesdtlid
    and t2.parentspn = (t2.jobgroupid||':'||t2.jobtype)
    ),0,(select t1.u_quotesdtlid
    from u_quotesdtl t1
    where t1.spnitemcode = t.parentspn
    and t1.spnlevel = '3'
    and t1.jobtype = t.jobtype
    and t1.jobgroupid = t.jobgroupid
    and t1.QUOTEID = t.QUOTEID
    ),t.u_quotesdtlid
    ,1,decode((select count(*)
    from u_quotesdtl t2
    where t2.QUOTEID = t.QUOTEID
    and t2.parentspn = (t2.jobgroupid||':'||t2.jobtype)
    ),0,t.u_quotesdtlid,decode((select count(*)
    from u_quotesdtl t3
    where t3.QUOTEID = t.QUOTEID
    and t3.parentspn = (t3.jobgroupid||':'||t3.jobtype)
    and t3.u_quotesdtlid in (select t1.u_quotesdtlid
    from u_quotesdtl t1
    where t1.spnitemcode = t.parentspn
    and t1.spnlevel = '2'
    and t1.jobtype = t.jobtype
    and t1.jobgroupid = t.jobgroupid
    and t1.QUOTEID = t.QUOTEID
    ),0,(select t4.u_quotesdtlid
    from u_quotesdtl t4
    ,(select t1.parentspn
    ,t1.jobtype
    ,t1.jobgroupid
    from u_quotesdtl t1
    where t1.spnitemcode = t.parentspn
    and t1.spnlevel = '2'
    and t1.jobtype = t.jobtype
    and t1.jobgroupid = t.jobgroupid
    and t1.QUOTEID = t.QUOTEID
    ) t5
    where t4.spnitemcode = t5.parentspn
    and t4.spnlevel = '3'
    and t4.jobtype = t5.jobtype
    and t4.jobgroupid = t5.jobgroupid
    and t4.QUOTEID = t.QUOTEID
    (select t1.u_quotesdtlid
    from u_quotesdtl t1
    where t1.spnitemcode = t.parentspn
    and t1.spnlevel = '2'
    and t1.jobtype = t.jobtype
    and t1.jobgroupid = t.jobgroupid
    and t1.QUOTEID = t.QUOTEID
    ,null,t.u_quotesdtlid) as parentquoteid
    ,t.u_quotesdtlid as quotesdtlid
    ,t.spnlevel as spnlevel
    FROM u_quotesdtl t
    WHERE t.QUOTEID ='som key id'
    ORDER BY parentquoteid,t.spnlevel desc
    select * from t;

  • PL/SQL: ORA-00904: invalid identifier (DG4ODBC 11.2.0.2 & MySQL)

    I have a PL/SQL script processing information between Oracle database and MySQL database. My script ran perfectly with DG4ODBC 11.1.0.7. Then we upgraded Oracle to 10.2.0 and DG4ODBC 11.2.0.2. Now if I run my script from Solaris command line like ./myscript.shl, I get the following errors:
    PL/SQL: ORA-00904: "cmswhit_moodle1"."mdl_grade_grades"."finalgrade": invalid identifier
    PL/SQL: ORA-00904: "cmswhit_moodle1"."mdl_question_states"."attempt": invalid identifier
    The strange thing is if I run the same query by cut and paste into sqlplus from command line, the query works perfectly without any problems.
    What is the cause of this problem?
    Any help would be greatly appreciated.
    Jeffrey

    Hi Klaus,
    The problem was solved after I updated MySQL ODBC to a new version from 5.1.8 to 5.1.13.
    Summary of the problem and its solution:
    The Problem: It appears that dg4odbc 11.2.0.2 requires a newer version of MyODBC. Previously I used MyODBC 5.1.8 which ran into problems with dg4odbc 11.20.0.2.
    The Solution: After I updated MyODBC to 5.1.13, my PL/SQL scripts all work.
    I need to point out that with MyODBC 5.1.8, I can run queries and updates from SQL*Plus console, but now PL/SQL scripts.
    I'll close this thread.
    Once again, thank you and happy holidays.
    Jeffrey

  • ORA-00904 invalid identifier error

    Here are the steps to reproduce this. My DB version is 9i R2.
    1) create table xmlsun1 of xmltype;
    2) create table xmlsun2 as select * from xmlsun1;
    Two Tables of XML Type created successfully
    3) insert into xmlsun1 values(xmltype('<employees><employee id="35"><FirstName>Tom</FirstName><LastName>Kyte</LastName></employee></employees>'));
    4) insert into xmlsun2 values(xmltype('<employees><employee id="35"><FirstName>Tom</FirstName><LastName>Kyte</LastName></employee></employees>'));
    Now when i query, i can see one record in each tables.
    The problem is only when updation.
    5) update xmlsun1 x
    set value(x) = updatexml(value(x),'/employees/employee/@id','37')
    where existsnode(value(x),'/employees/employee[FirstName = "Tom"]') = 1;
    1 row updated
    6) update xmlsun2 x
    set value(x) = updatexml(value(x),'/employees/employee/@id','37')
    where existsnode(value(x),'/employees/employee[FirstName = "Tom"]') = 1;
    This updation fails with the error : ORA-01775: looping chain of synonyms
    I tried to change alias of xmlsun2 to y
    update xmlsun2 y
    set value(y) = updatexml(value(y),'/employees/employee/@id','37')
    where existsnode(value(y),'/employees/employee[FirstName = "Tom"]') = 1;
    I get an error saying that Y is an invalid identifier. Now, how can i update the table xmlsun2? I can't use the alias x nor any other alias.
    Thanks,
    Sundar

    I've filed bug 5560960 for this behavoir, which is still not what you are describing.. Do you have SYNONYMS defined somewhere in your example ?
    $ sqlplus scott/tiger @testcase3
    SQL*Plus: Release 9.2.0.6.0 - Production on Fri Sep 22 11:59:46 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    SQL> drop table xmlsun1
    2 /
    Table dropped.
    SQL> create table xmlsun1 of xmltype
    2 /
    Table created.
    SQL> drop table xmlsun2
    2 /
    Table dropped.
    SQL> create table xmlsun2 as select * from xmlsun1
    2 /
    Table created.
    SQL> insert into xmlsun1 values( xmltype ('<employees><employee id="35"><FirstName>Tom</FirstName><LastName>Kyte</LastName></employee></employees>') )
    2 /
    1 row created.
    SQL> insert into xmlsun2 values( xmltype ('<employees><employee id="35"><FirstName>Tom</FirstName><LastName>Kyte</LastName></employee></employees>') )
    2 /
    1 row created.
    SQL> update xmlsun1 x
    2 set value(x) = updatexml(value(x),'/employees/employee/@id','37')
    3 where existsnode(value(x),'/employees/employee[FirstName = "Tom"]') = 1
    4 /
    1 row updated.
    SQL> update xmlsun2 x
    2 set value(x) = updatexml(value(x),'/employees/employee/@id','37')
    3 where existsnode(value(x),'/employees/employee[FirstName = "Tom"]') = 1
    4 /
    where existsnode(value(x),'/employees/employee[FirstName = "Tom"]') = 1
    ERROR at line 3:
    ORA-00904: "X": invalid identifier
    SQL> update xmlsun2 y
    2 set value(y) = updatexml(value(y),'/employees/employee/@id','37')
    3 where existsnode(value(y),'/employees/employee[FirstName = "Tom"]') = 1
    4 /
    where existsnode(value(y),'/employees/employee[FirstName = "Tom"]') = 1
    ERROR at line 3:
    ORA-00904: "Y": invalid identifier
    SQL>

Maybe you are looking for

  • Commenting in Adobe Acrobat 9 Pro

    I have to send pdf documents which allow commenting by those reviewing the document.  However, I need to ensure that when the people are adding comments to the document they cannot copy the content or the images.  When I set the password for permissi

  • ISP Reporting Open DNS Resolvers

    I have a WRV210 in stalled at a remote client, it is set to do a point to point VPN tunnel to the company office (Windows server) another 210 at the other end. Behind this specific unit are 2 Windows workstations(XP). The client just received the fol

  • How to populate right side of Shuttle with display/return values?

    Hello, I know, that the proper way to populate the right side of shuttle is that: declare      v_list     apex_application_global.vc_arr2; begin      select profile_name return_value        bulk     collect        into     v_list        from     user

  • HSlider and mouse wheel

    I'm using Flex 4 and I've noticed something annoying with the spark HSlider: if I click the slider, it seems to retain focus so that even if the mouse is not over it, moving the mouse wheel up or down still causes the slider to move left or right. I'

  • Backup after system upgrade

    I have upgraded from Tiger to Snow Leopard. I have an external hard drive with two partitions. I have a system clone on one partition and incremental backups on the other. I need to know what to do with these backups now that I have upgraded my syste