ORA-00904: "ORA_ROWSCN": invalid makes release 2.1.0.63  unusable

I originally posted this on an answered post.. reposting since it doesnt seem to get any attention when you post to an already answered post... Plus the error on the original post was a little different...
Using 2.1.0.63, 10.2.0.4.0 64bit database, AIX OS..
I am getting this on about 10 to 20% of my tables... ORA-00904: "ORA_ROWSCN": invalid identifier
To reproduce select table in tree, press data tab, this error appears in Data Editor - Log window with no data in data tab.
This did not happen in 1.5.5.
Maybe this is the issue... Evidently this was fixed in Oracle 11g database.
Metalink bug 5183871
WORKAROUND:
Do not use ANSI join syntax with ORA_ROWSCN.

Even though I marked this resolved I have figured out more about this error. Like I said this is only happening with tables that have a policy - fine grained access. Basically no matter who I log in as, if I have a table with a policy I get the ora_rowscn error and cannot see the data in the data tab. This did not happen in 1.5. I could see the data in 1.5. So, it appears that 2.1 is using ora_rowscn in the query to get the data and 1.5 does not use ora_rowscn. So, in 2.1 if the table has a policy then the database isues the ORA-00904: "ORA_ROWSCN": invalid error and you cannot see the data.
Can anyone else reproduce this with a table that has a policy - fine grained access.
So, something is different in the way 1.5 and 2.1 query data from a table into the data tab.

Similar Messages

  • ORA-00904: "ORA_ROWSCN": invalid identifier prevents data to show

    in sqldeveloper version 2106373 in Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Please fix in next version last version .63 it did not work and this current version same

    I installed Oracle SQL Developer 2.1 Patch 1 (2.1.1.64.39) and it still gave me the error, but after some searching I found the setting.
    You can find it under the preference -> database -> object viewer. Uncheck the check-box in front of the line: "Use ORA_ROWSCN for DataEditor insert and update statements."

  • Exception: java.sql.SQLException: ORA-00904: "SEQ_NAME": invalid identifier

    Hi everyone,
    we are facing the below issue when trying to schedule a BI report.
    Error Details:
    +oracle.apps.xdo.servlet.scheduler.ProcessingException: Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.0.0) (Build 080319)): oracle.toplink.exceptions.DatabaseException+
    Internal Exception: java.sql.SQLException: ORA-00904: "SEQ_NAME": invalid identifier
    Error Code: 904
    Call: UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT 50 WHERE SEQ_NAME = 'JOB_ID_SEQ'+
    Query: DataModifyQuery()
    +     at oracle.apps.xdo.servlet.scheduler.toplink.ToplinkDataHandler.insertJob(ToplinkDataHandler.java:830)+
    +     at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.scheduleJob(SchedulerServlet.java:1896)+
    +     at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.doPost(SchedulerServlet.java:293)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)+
    +     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)+
    +     at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)+
    +     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)+
    +     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)+
    +     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)+
    +     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)+
    +     at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)+
    +     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)+
    +     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)+
    +     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)+
    +     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)+
    +     at java.lang.Thread.run(Thread.java:595)+
    +Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.0.0) (Build 080319)): oracle.toplink.exceptions.DatabaseException+
    Internal Exception: java.sql.SQLException: ORA-00904: "SEQ_NAME": invalid identifier
    Error Code: 904
    Call: UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT 50 WHERE SEQ_NAME = 'JOB_ID_SEQ'+
    Query: DataModifyQuery()
    +     at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:296)+
    +     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:724)+
    +     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:790)+
    +     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:524)+
    +     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:467)+
    +     at oracle.toplink.internal.sessions.AbstractSession.executeCall(AbstractSession.java:795)+
    +     at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)+
    +     at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:179)+
    +     at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeNoSelectCall(DatasourceCallQueryMechanism.java:222)+
    +     at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeNoSelect(DatasourceCallQueryMechanism.java:202)+
    +     at oracle.toplink.queryframework.DataModifyQuery.executeDatabaseQuery(DataModifyQuery.java:55)+
    +     at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:671)+
    +     at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2260)+
    +     at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1074)+
    +     at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1058)+
    +     at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1032)+
    +     at oracle.toplink.sequencing.QuerySequence.update(QuerySequence.java:319)+
    +     at oracle.toplink.sequencing.QuerySequence.updateAndSelectSequence(QuerySequence.java:258)+
    +     at oracle.toplink.sequencing.StandardSequence.getGeneratedVector(StandardSequence.java:62)+
    +     at oracle.toplink.sequencing.DefaultSequence.getGeneratedVector(DefaultSequence.java:144)+
    +     at oracle.toplink.sequencing.Sequence.getGeneratedVector(Sequence.java:256)+
    +     at oracle.toplink.internal.sequencing.SequencingManager$Preallocation_Transaction_NoAccessor_State.getNextValue(SequencingManager.java:444)+
    +     at oracle.toplink.internal.sequencing.SequencingManager.getNextValue(SequencingManager.java:873)+
    +     at oracle.toplink.internal.sequencing.ClientSessionSequencing.getNextValue(ClientSessionSequencing.java:75)+
    +     at oracle.toplink.internal.descriptors.ObjectBuilder.assignSequenceNumber(ObjectBuilder.java:234)+
    +     at oracle.toplink.internal.sessions.UnitOfWorkImpl.assignSequenceNumbers(UnitOfWorkImpl.java:419)+
    +     at oracle.toplink.internal.sessions.UnitOfWorkImpl.calculateChanges(UnitOfWorkImpl.java:497)+
    +     at oracle.toplink.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1407)+
    +     at oracle.toplink.internal.sessions.UnitOfWorkImpl.commitRootUnitOfWork(UnitOfWorkImpl.java:1167)+
    +     at oracle.toplink.internal.sessions.UnitOfWorkImpl.commit(UnitOfWorkImpl.java:939)+
    +     at oracle.apps.xdo.servlet.scheduler.toplink.ToplinkDataHandler.insertJob(ToplinkDataHandler.java:815)+
    +     ... 16 more+
    Caused by: java.sql.SQLException: ORA-00904: "SEQ_NAME": invalid identifier
    +     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)+
    +     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)+
    +     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)+
    +     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)+
    +     at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:113)+
    +     at oracle.jdbc.driver.T4CStatement.execute_for_rows(T4CStatement.java:561)+
    +     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)+
    +     at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1585)+
    +     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:713)+
    +     ... 45 more+
    Found a thread related to this but there it was explained that the error was occuring when trying to notify regarding output through email. In our case, issue is occuring just during scheduling itslef.
    Also I haved checked the following schedular tables in my database.
    SQL> select table_name from all_tables where table_name like 'S_NQ%'
    +2 /+
    TABLE_NAME
    S_NQ_ERR_MSG
    S_NQ_INSTANCE
    S_NQ_JOB_PARAM
    S_NQ_JOB
    SQL> select SEQ_NAME.CURRVAL FROM DUAL;
    select SEQ_NAME.CURRVAL FROM DUAL
    *+
    ERROR at line 1:
    ORA-02289: sequence does not exist
    Please help me out in solving this as I have tried almost all possible solutions.
    Thanks,
    Sri Harsha.
    Edited by: user10545574 on Dec 20, 2009 10:24 PM

    Hello,
    In the delivery email configuration server page (under BI Publisher Admin Tab), the username / password to enter is the one defined on the email server itself. It is the user that will be user to send the emails when scedhuling a report.
    It may not be Administrator/ Administrator (not a user defined with OBI admin tool) but the username/password defined on the email server itself.
    Moreover, to properly configure the BI Publisher Scheduler, it is a prerequistes to create bipsched user on Oracle DB and install the schema tables in Oracle DB (by clicking on Install Schema button after defining database connection under Admin / Scheduler Configuration tab)
    From the error your are getting 'SEQ_NAME unknown..., it appears that the tables are not created'.
    Hope this helps and good luck
    Matthieu

  • Database Link Error ORA-00904: "function_name": invalid identifier

    Hi Everyone,
    We are using Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production.
    We have production and reporting databases. We have a link from reporting to production that we use to create tables on the reporting database by selecting from tables and/or views on the productions database.
    We have to problem selecting from any view or table unless the query uses a stored function on the production database. Then we get the ORA-00904: "function_name": invalid identifier error even though the user that uses the link is created on both databases and the user hase execute privileges on the function.
    Has anyone else ever had this problem or have any suggestions?
    Any help would be greatly appreciated.
    Thanks!
    Ken

    Hi
    Post an example.
    Ott Karesz
    http://www.trendo-kft.hu

  • "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: "IFREEPOOL": invalid identifier

    Hi experts,
    When i am trying to export table containing BLOB data then i am getting the error
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: "IFREEPOOL": invalid identifier
    Please suggest some solution how to export Blob field of a table...
    Thanks In Advance...
    Asit...
    Edited by: Asit Kumar Mohanty on Feb 22, 2013 3:42 AM

    how you make the export? database version? OS?
    also check:
    Compatibility Matrix for Export And Import Between Different Oracle Versions [Video] [ID 132904.1]
    Errors ORA-904 EXP-8 On Traditional Export (EXP) In 10.2.0.4 [ID 968322.1]
    VN204084 OMU: EXP-00008: ORACLE error 904 encountered. ORA-00904: invalid colu [ID 613976.1]

  • FNDLOAD: PL/SQL: ORA-00904: "LAST_UPDATED_DATE": invalid identifier

    Hi
    I have done a form personlization and download it as .ldt file using FNDLOAD.
    command used:
    FNDLOAD apps/dvpins93 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct KPMNPOINV_LD.ldt FND_FORM_CUSTOM_RULES function_name="KPMNPOINV"
    log file:
    Application Object Library: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    module:
    Current system time is 24-DEC-2009 15:12:26
    Downloading FND_FORM_CUSTOM_RULES to the data file KPMNPOINV_LD.ldt
    Downloaded FND_FORM_CUSTOM_RULES 1204
    Concurrent request completed successfully
    Current system time is 24-DEC-2009 15:12:27
    After that i have uploaded the .ldt file using FNDLOAD after removing the personalization from that form, just to check whether it is upoloaded or not.
    But the problem, when i uploaded the file it gives me an error PL/SQL: ORA-00904: "LAST_UPDATED_DATE": invalid identifier
    command used:
    FNDLOAD apps/dvpins93 0 Y UPLOAD $FND_TOP/patch/115/import/affrmcus.lct KPMNPOINV_LD.ldt
    log file:
    Application Object Library: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    module:
    Current system time is 24-DEC-2009 16:55:17
    Uploading from the data file KPMNPOINV_LD.ldt
    Altering database NLS_LANGUAGE environment to AMERICAN
    Dump from LCT/LDT files (/appldvp/apps/prodappl/fnd/11.5.0/patch/115/import/affrmcus.lct(115.1), KPM
    NPOINV_LD.ldt) to stage tables
    Dump LCT file /appldvp/apps/prodappl/fnd/11.5.0/patch/115/import/affrmcus.lct(115.1) into FND_SEED_S
    TAGE_CONFIG
    Dump LDT file KPMNPOINV_LD.ldt into FND_SEED_STAGE_ENTITY
    Dumped the batch (FND_FORM_CUSTOM_RULES 1204 , FND_FORM_CUSTOM_SCOPES 1204 20 ) into FND_SEED_STAGE
    _ENTITY
    Upload from stage tables
    Error during uploading. ORA-06550: line 354, column 17:
    PL/SQL: ORA-00904: "LAST_UPDATED_DATE": invalid identifier
    ORA-06550: line 347, column 1:
    PL/SQL: SQL Statement ignored
    Concurrent request completed
    Current system time is 24-DEC-2009 16:55:18
    I am not able to understand the actual problem as there is nothing like LAST_UPDATED_DATE.
    Please suggest me something so that i can solve this problem

    Hi,
    Please refer to:
    Note: 287417.1 - Parameters Of Different Configuration Files To Download And Upload Seed Data Types
    For forms personalization, please refer to:
    Note: 395117.1 - Form Personalizations in Oracle E-Business Suite (Release 12)
    Note: 743490.1 - Customization in Oracle Applications
    There are many documents available on Metalink, just search for FNDLOAD and you will get many hits.
    Regards,
    Hussein

  • JDBC Receiver adapter-java.sql.SQLException: ORA-00904: "BATCH_ID": invalid

    Hi
    I am trying insert rows in Oracle database using JDBC receiver adapter setup in PI 7.1. However this receiver adapter is throwing following exception.
    Delivering the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'PRADEEP_OTC_ORDERS' (structure 'statement'): java.sql.SQLException: ORA-00904: "BATCH_ID": invalid identifier .
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:mt_sql_writer xmlns:ns0="http://rdbms_poc">
    <statement>
         <dbtablename action="INSERT">
                <table>PRADEEP_OTC_ORDERS</table>
              <access>
                     <order_id>19126</order_id>
                     <version>1</version>
                     <batch_id>132</batch_id>
                </access>
           </dbtablename>
    </statement>
    </ns0:mt_sql_writer>
    PRADEEP_OTC_ORDERS table has just 3 columns as specified the access segment. However I stil get this ORA-00904 error message.
    Any idea on what could be wrong.?
    Thanks
    -Pradeep

    Hi All,
    Thanks a lot for responding...
    I verified the table structure, table just contains those 3 coulms all varchar type.
    I modified the column name as well, But was still getting ORA-00904. Then I went directly to the the database and executed below insert statement,
    insert into PRADEEP_OTC_ORDERS (mps_order_id, mps_version,mps_batch_id) Values(1,2,3)
    I got exact SQL Error: ORA-00904: "MPS_BATCH_ID": invalid identifier.
    So ISAP JDBC adapter is not enclosing the string values in quotes.
    SAP documentation says it puts quotes for values and treats everything as string(text).
    Anybody has any idea, why JDBC receiver adapter not enclosing the values in quotes?
    Thanks
    -Pradeep

  • CNS-9025 An internal error occurred. ORA-00904: EXTRA_COL: invalid ID

    With our new version of Mobile Server (10.2.0.2) a lot of problems seem to have been solved. In older versions we didn't succeed in republishing. Meaning we had to drop the old version en publish a new version. Doing this meant we had to redo data subsetting for every user, which is a lengthy task. Besides it triggers full refresh for every user, that is a major one as well.
    In the new version a lot goes better, but still we are experiencing some problems (or challenges).
    Again the main issue is that in the course of time our application grows.
    Now we stumble into the simple issue:
    We want to add a column to our database.
    What we do is the following (as described by Oracle):
    - Add the column (EXTRA_COL) to our 'mother'database
    - Alter the snapshot definition for this column (add the column)
    - Republish...
    When I resynch the new column appears on my client, so far so good.
    However if I change something to the data on the client and I do a resynch I get:
    "CNS-9025 An internal error occurred. ORA-00904: EXTRA_COL: invalid ID.
    It seems as though 'internally' the column is not added everywhere it should be.
    For example the CEQ$table does not have the EXTRA_COL column.
    I'm quite sure that somebody else should encounter these problems as well as new views lead to data structure changes quite often.
    Anybody encountering this as well, and more important, somebody got a clue on what is going on?
    Thnx in advance.

    There is a bug with 10.2 where the re-publish of a item that has has ddl changes (like an extra column) does not always work correctly. It seems to be intermittent (at least in our environment) and the symptoms are
    alter base schema table
    re-publish snapshot (note if the snapshot definition is the standard 'select * from ...' you should not need to do anything apart from republishing)
    no errors reported in the re-publish
    however the new column has not been added to either CEQ$object OR CFM$WTGPI_nnnnn (the inqueue table for the object) - the missing column on the CFM$ table is the source of the error shown above in the posting as there is a mismatch when the data is uploaded
    dropping the publication item would fix the problem, but be aware if you have any users out there, when they synchronise any data being uploaded for a publication item that has been dropped and re-created will be LOST with no error being reported (in the sync history you will see a blank name in the upload section), due to the internal mapping having changed
    We have found that normally when this happens forcing a republish of the affected object by making a change to the selection logic (eg adding something like 'id is not null') and republishing again fixes the problem - as with a lot of mobile issues, fiddle with it enough and it will eventiually sort itself out

  • ORA-00904: "OCT": invalid identifier

    Hi All,
    i using execulte immediate to create a table as below
    SQL_STR := 'create table test_archive as select * from test_one where date_key between' TO_DATE(20121001,'YYYYMMDD')||' and '||TO_DATE(20121002,'YYYYMMDD');
    execute immediate SQL_STR;
    i am getting below error.
    Eexeduting the varSqlstmt.
    ERROR CODE: ORA-00904: "OCT": invalid identifier
    and it has generated the Query as below ,
    create table test_archive as select * from test_one where
    date_key between 01-OCT-12 and 03-OCT-12
    my requirement is insted of "OCT" it has to Display as "10".
    Note : date_key column date datatype.
    please any one help me in this .
    Thanks
    Sree

    ALTER SESSION SET NLS_DATE_FORMAT='YYYY/MM/DD';
    SQL> alter session set NLS_DATE_FORMAT='YYYY-MON-DD';
    Sesi¾n modificada.
    SQL> select sysdate from dual;
    SYSDATE
    2013-ENE-11
    SQL> alter session set NLS_DATE_FORMAT='YYYYMMDD';
    Sesi¾n modificada.
    SQL> select sysdate from dual;
    SYSDATE
    20130111
    SQL> alter session set NLS_DATE_FORMAT='YYYY-MM-DD';
    Sesi¾n modificada.
    SQL> select sysdate from dual;
    SYSDATE
    2013-01-11Edited by: Fran on 11-ene-2013 5:52

  • Java.sql.SQLSyntaxErrorException: ORA-00904: "GROUPID": invalid identifier

    I have this Oracle table:
    CREATE TABLE USERGROUPS(
      GROUPID INTEGER NOT NULL,
      GROUPNAME VARCHAR2(40 ),
      GROUPSTATUS VARCHAR2(30 ),
      DATEGROUPADDED DATE,
      DATEGROUPLOCKED DATE,
      GROUPEXPIREDATE DATE,
      DESCRIPTION CLOB
    /I tried to run this SQL query:
    SELECT c.*
    FROM
      (SELECT b.*,
        rownum rn
      FROM
        (SELECT a.* FROM USERGROUPS a ORDER BY GROUPID ASC
        ) b
      WHERE rownum <= 5
      ) c
    WHERE rn > 10I get this error message in SQL developer when I run it:
    ORA-00904: "GROUPID": invalid identifier
    00904. 00000 - "%s: invalid identifier"
    *Cause:   
    *Action:
    Error at Line: 5 Column: 25
    I also tested this SQL query:
    SELECT GROUPID FROM USERGROUPS I get this error:
    ORA-00904: "GROUPID": invalid identifier
    00904. 00000 - "%s: invalid identifier"
    *Cause:   
    *Action:
    Error at Line: 1 Column: 7
    Can you help me to fix the problem?

    Are you sure the create table statement executed successfully (with no error)?
    Perhaps you use an older version of the table where the column groupid did not exists.
    You can check the columns of your table with:
    select * from all_tab_columns
    where table_name='USERGROUPS'
      and owner='<schema-name>'
    order by column_id;Another reason could be, that exist two tables with the same name.
    You could check that with
    select *
    from all_tables
    where table_name ='USERGROUPS';hm

  • ORA-00904: "YEAR": invalid identifier

    Hi,
    I am getting ORA-00904: "YEAR": invalid identifier error while running the following query.
    This query was written in MySQL and being migrated to Oracle.
    The problem is in where clause as i am unable to migrate the YEAR,MONTHNAME
    "diet_details.diet_date = 01-JUL-12"
    SELECT
    diet_details.diet_id AS diet_id,
    diet_details.diet_combination_id AS diet_combination_id,
    count(diet_details.diet_details_id)AS count,
    mas_diet_combination.diet_combination_name AS mas_diet_combination_name,
    diet_details.diet_date AS diet_diet_date,
    diet_details.diet_details_id AS diet_diet_details_id,
    mas_department.department_name AS mas_department_name,
    mas_hospital.hospital_name AS mas_hospital_name
    FROM
    mas_diet_combination RIGHT OUTER JOIN diet_details ON mas_diet_combination.diet_combination_id = diet_details.diet_combination_id
    LEFT OUTER JOIN mas_department ON diet_details.department_id = mas_department.department_id
    LEFT OUTER JOIN mas_hospital ON diet_details.hospital_id = mas_hospital.hospital_id
    WHERE
    monthname(diet_details.diet_date) =JUL
    and year(diet_details.diet_date) = 12
    and diet_details.department_id = 11
    GROUP BY
    diet_details.diet_id,
    diet_details.diet_combination_id,
    diet_details.diet_details_id,
    mas_diet_combination.diet_combination_name,
    diet_details.diet_date,
    diet_details.diet_details_id,
    mas_department.department_name,
    mas_hospital.hospital_name
    order by mas_diet_combination.diet_combination_id

    Instead of YEAR, MONTHNAME, use the to_char function.
    e.g
    where to_char(diet_details.diet_date,'MON-YYYY') = 'JUL-2012'

  • ORA-00904: "ATTRIBUTE20": invalid identifier (Human Resource)

    Hi
    Please anybody can tell me why the error (ORA-00904: "ATTRIBUTE20": invalid identifier) come. When I am trying to query in form "Human Resource Vision Enterprise > People > Salary Management"
    Regards
    Makshud

    Hi Makshud,
    In addition to above information, you can refer the following doc for the generic reason of this error,
    [OERR: ORA-904 %s: invalid identifier / invalid column name|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=18500.1]
    This could be the reason for some invalid field entry as ORA-904 coming please verify.
    This is just for the information of ORA - 904, reason can only me verified after you provide the information asked by Hussein.
    Thanks,
    Anchorage :)

  • ORA-00904: "C002": invalid identifier

    Marc or scott,
    Try to retrieve data from Collection using c001..c00n. but I got error: ORA-00904: "C002": invalid identifier.
    please check with my simple example application at:
    http://htmldb.oracle.com/pls/otn/f?p=22999:1:6638660303798118793:::::
    I try to create a collection to save all the data from region SAVE1 Name column, and retrieve the data from the collection to insert into the NAME coloumn automatically.
    Best regards,
    Mike

    244805,
    What does your code look like that does the retrieval of data? Can you post on this forum the code where the ORA-00904 is occurring?
    Joel

  • ORA-00904 "CURRENT_RECORD_IDENTIFIER" : invalid identifier in R12.1.3

    Hi,
    When clicking forms i am getting the below error ...
    ORA-00904 "CURRENT_RECORD_IDENTIFIER" : invalid identifier in R12.1.3
    Please help ..
    Regards

    When clicking forms i am getting the below error ...What forms? Seeded or custom ones?
    Was this working before? If yes, any changes have been done recently?
    ORA-00904 "CURRENT_RECORD_IDENTIFIER" : invalid identifier in R12.1.3Have you tried to generate the form manually or using adadmin and see if it compiles successfully?
    Thanks,
    Hussein

Maybe you are looking for

  • Ad hoc Query batch job

    HI All SAP HR - Adhoc query can be scheduled as a batch job? There are a few monthly adhoc queries that are run by users, can these be automated as scheduled jobs every month, with out ABAP programming required. Cheers Dinesh

  • Airplay unreliable

    Selecting my Airport Express as the output for Mac audio frequently results in error messages-"Can't connect to Airport-Express"-and lags behind streaming video by a few seconds when it does work. Also, selecting Airplay for just iTunes BLASTS music.

  • Playback is no more working after switching to other application

    Hello, I am running Premiere CS6.02 and the playback works flawlessly until I switch to other application. When I switch back to Premiere the video cannot be previewed at all. Hitting spacebar will change the play symbol to stop symbol and that's it.

  • Software update kill x11

    I run many software packages that require X11.  After running the latest software update package today X11 fails to launch and applications that rely on it will no longer run.  Reinstalling X11 from the system disk did not help nor did reinstalling X

  • How to transfer vendor master from MM to SUS?

    Hi friends How to transfer vendor master from MM to SUS Are the following steps correct 1.create vendor master in MM 2.use tcode BD14 in MM and enter partner system as SUS ( to send vendor master) 3.use BD15 in SRM to accept the master data from MM.