HR_BUSINESS_UNIT_WID": invalid identifier at OCI call

Hi Guys,
I am getting the below error the column in does not exists in the Production Environement also, The Production is a vanilla implementation. Anybody has any idea how to map and poppulate this column in the table WC_RCRTMNT_AGING_MONTH_F.
HR_BUSINESS_UNIT_WID": invalid identifier at OCI call
Regards,
Amit

Swati:
"C2" is probably referring to the column alias as opposed to the column name itself. It is the second column that you are displaying. You can view the Session Log to see the exact sql query that is being issued to the database and that should show you what column "C2" is referring to.
Rajesh

Similar Messages

  • Invalid datatype in OCI call ?

    Hello,
    Why i got
    ORA-01024: invalid datatype in OCI call
    when i'm trying to select a clob column from a table? that column contains 'hello world'. i don't know what causes this error..
    Thanks

    ORA-01024:     invalid datatype in OCI call
    Cause:     An OCI program call specified an invalid datatype. In OCI calls, Oracle datatypes are specified as numbers between 1 and 7.
    Action:     Check the datatype description and enter the correct number for the datatype. Please use search, before posting.

  • Calling multiple DB functions in same analysis throws Invalid Identifier

    Hi all,
    I am trying to invoke multiple database functions using evaluate function in a report, and as soon as I add the second function, I keep running into the below error. As you all know we could call two functions in a single select statement, so I would assume it to work the same way in BI.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 904, message: ORA-00904: : invalid identifier at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
    Has anyone ran into this issue before ?
    Thanks,
    -A.Y.

    veeravalli wrote:
    Hi Amith,
    Can you try with only second funtion (excluding first evaluate) and with other columns? to make sure your 2nd evaluate function is fine.Yes, they all work if used individually. Combining each other is causing the issue.
    As a work around I am writing a package to merge everything together for now, but it would be nice to have this feature.
    One thing to note is if you actually take the physical sql and run it against database, it works just fine.

  • Invalid identified error in procedure

    hi
    I have a package that has a declare variable ,vfilename. I set the value of the variable vfilename to a file name for eg 'abc.txt' when the package scenario is callled. Now this file is the source for an interface that loads from this file to a target table. The interface has source datastore resource defined as a variable.
    After running this interface a procedure is called that will update a metadata table where the record has file_name col value=vfilename.
    to do this in the ODI procedure I am calling a plsql procedure as below
    Begin
    update_load_status(#vfilename)
    end;
    When this procedure runs I get an error as below
    904 : 42000 : java.sql.SQLException: ORA-00904: "abc"."TXT": invalid identifier
    If I call the procedure by hard coding the value i.e update_load_status('abc.txt'). It works fine.
    I have tried concat etc but still the value is not getting passed correctly and I am getting the invalid identified error. Is there a way to get around this?

    If you are saying this code -update_load_status('abc.txt'). work
    then call the variable this way
    Begin
    update_load_status('#vfilename');
    end;

  • Hi we are getting Errors in file /apps/oh2/diag/rdbms/bsdp12/BSDP122/trace/BSDP122_q01c_5899122.trc: ORA-00904: "UTL_RAW"."CAST_FROM_NUMBER": invalid identifier  alert in alertlog

    Errors in file /apps/oh2/diag/rdbms/bsdp12/BSDP122/trace/BSDP122_q01c_5899122.trc:
    ORA-00904: "UTL_RAW"."CAST_FROM_NUMBER": invalid identifier
    DB version 11.2.0,.4
    and Replication getting ab-ended with below error
      SourceLine         
    : [817]
    2015-03-29 14:07:12  ERROR   OGG-00665  OCI Error executing single row select (status = 26695-ORA-26695: error on call to dbms_lock.release: return code 4
    ORA-06512: at "SYS.DBMS_LOGREP_UTIL", line 197
    ORA-06512: at "SYS.DBMS_LOGREP_UTIL", line 240
    ORA-06512: at "SYS.DBMS_LOGREP_UTIL", line 493
    ORA-06512: at "SYS.DBMS_APPLY_ADM_INTERNAL", line 2375
    ORA-26790: Requesting a lock on set_dml_conflict_handler "" timed out
    ORA-06512: at "SYS.DBMS_XSTREAM_GG_ADM", line 335
    ORA-06512: at line 1), SQL<DECLARE   PRAGMA AUTONOMOUS_TRANSACTION;BEGIN   dbms_xstream_gg_adm.set_dml_conflict_handler(
    apply_name=>:1, source_object=>:2, object=>:
    3,
    conflict_handler_name=>:4, operation_name=>:5, conflict_type=>:6,
    method_name=>:7, column_list=>:8, resolution_column=>:9);END;>.
    Thanks

  • 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

  • Invalid identifier results from an sql statement in php

    hello there, i'm trying to access data from an oracle 11g database via oci and php 5.3.8.
    i'm getting the ORA-00904 (invalid identifier) error when executing the following statement:
    $stid = oci_parse($conn, 'select * from table1 where column1 = "XYZ"');
    when i do this:
    $searchstring = "XYZ";
    $stid = oci_parse($conn, 'select * from table1 where column1 = '.$searchstring.'');
    i'm getting this error:
    ORA-00933: SQL command not properly ended
    column1 is varchar2, the entries are either letters and numbers (never only numbers) or empty.
    when i do this:
    $stid = oci_parse($conn, 'select * from table1');
    i'm getting the data and there are entries in column1 with XYZ.
    has anyone an idea, what i do wrong?
    regards j

    The PHP forum for questions like this is at http://www.oracle.com/technetwork/forums/php/index.html
    You really need to be using a bind variable here. Otherwise you will likely suffer from poor DB performance, and also open yourself to SQL Injection security attacks. Try:
    $stid = oci_parse($conn, 'select * from table1 where column1 = :bv');
    oci_bind_by_name($stid, ":bv", $searchstring);Regarding quoting of your example try:
    $searchstring = "XYZ";
    echo  'select * from table1 where column1 = '.$searchstring.'';Then run that SQL in SQL*Plus and watch it fail. What you need is given with:
    echo  'select * from table1 where column1 = \''.$searchstring.'\'';See the bottom of p 126 of The Underground PHP and Oracle Manual
    Note that with the bind variable example you didn't need quotes around :bv.

  • Core dump on OCI call

    We are getting the following core dump on an OCI call ....
    fde12fe0 kpucHTDelete (f872ac, f68380, 0, 31, 203d203a, f7c684) + 9c
    fddae464 kpursetstmttext (f872ac, f871c8, 8, fdd9fa84, d49c40,
    fe449a64) + 9c
    fddae61c kpurclientparse (f872ac, f7cc7c, f682e8, 9a, 400000, d49a14) +
    28
    fddae928 kpureq (f77338, f7cc7c, f682e8, 9a, 1, 0) + 150
    fde69efc OCIStmtPrepare (f872ac, f7cc7c, f682e8, 9a, 1, 0) + 7c
    004642b4 arb_internal_process_query (f68138, f68154, 0, 0, ffbfae28,
    1037de2) + 594
    00453178 arb_next_row (f68138, 10d6c58, 1037d88, ffbfaea4, 29, 2e) + 18
    0028d64c ???????? (f61828, 1067d00, ffbfafa8, 0, 0, 80808080)
    0028db68 list_abp_product_types (f61828, 1067d00, ffbfafa8, 1037c10,
    1067d00, 1067d00) + 20
    002e78a0 insert_abp_serv_inst_product (f61828, 103ee18, 1, ffbfb46c,
    fecd29e8, fd9f0240) + 278
    0014feb8 GTEAB_InsertMRC (ffbfbd54, ffbfc2d0, ffbfbda7, ffbfc2d0,
    ffbfbd98, ffbfc2d0) + 33b8
    000d193c run_pieces (e2f820, e33528, e35aa0, ffbfc3d4, e3f8c0, 0) + 1dc
    000d11b0 handle_request (e2f820, 5, e33528, e34e48, 0, 0) + 278
    000ce1a8 process_request (e2f820, 5, e33528, e34e48, fed73700,
    fd9f2a00) + c8
    000cdfd0 main (3, ffbfc9ac, ffbfc9bc, 79a000, fd9f0180, fd9f01c0) +
    568
    000cce08 _start   (0, 0, 0, 0, 0, 0) + 108
    It always seems to happen on the kpucHTDelete call. I have searched the net for kpucHTDelete but found nothing.
    Can someone
    1. describe what kpucHTDelete is supposed to accomplish and why it might fail.
    2. Is there a way to trace / log OCI ?
    3. Any other suggestions to help with this problem.
    Thanks in advance.
    Gary

    Well, it seems to me a bug.
    You can enable tracing using NET 8 Assistant, and from there go to the tracing tab.
    Select the SUPPORT trace level from the following pull down menu located in the Client Information section:
    OFF: Tracing disabled.
    USER: Trace information applicable for users.
    ADMIN: Trace information applicable for database administrators.
    SUPPORT: Trace information applicable for customer support staff.
    Enter a valid directory name in the Trace Directory field in the Client Information section. This directory specification is where trace files are written on either the client or server.
    Enter a valid filename in the Trace File field in the Client Information section. This filename specifies the name of the trace file on the client or server.
    Click on the "unique File Trace Name" checkbox if you want a unique identifier appended to each new trace file created.
    Save your configuration.
    You can check the SQLNET.ORA file found in the net80/admin directory path to verify that tracing is enabled. There is an entry called TRACE_LEVEL_CLIENT=SUPPORT located in that file and entries that indicate the log file location and name that you specified in the Oracle Net8 Assistant.
    regards

  • TNS:internal network communication error at OCI call OCIServerAttach

    hi,
    am using OBIEE 11g, i have made a new repository in obiee and when i done my analysis phase i checked the result and i recived an error :
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 17001] Oracle Error code: 12157, message: ORA-12157: TNS:internal network communication error at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)
    i made the changes in TNS but nothing happened, any suggestion ??
    thanx..

    Hi Guys,
    I got the same error message. I can see the data in the physical layer. Once i import my repository via weblogic, i can see the subject areas and all its related filed in Analysis section.
    However i cannot view any data for any columns. Error;
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)
      SQL Issued: SELECT 0 s_0, "Invoices"."Customer Name"."ACCOUNT_NAME" s_1 FROM "Invoices" FETCH FIRST 65001 ROWS ONLY

  • Suspended. Reason: 116 - Invalid Identifier

    Hello Everybody,
    I hope someone here can help me.
    My Blackberry Curve stopped receiving or sending data comunications last night.  My service provider(Rogers) troubleshot the issue down to the RIM servers.  Rogers stated that they could not access the RIM envirnoment to resolve this and I was given a phone number.  1 800 327-9085 
    It looks like I need to pay for a support call in order to have my Blackberry reinstated. This is of course ridiculous...since it was through no fault of mine that this issue has occured.
    The error message: Suspended. Reason: 116 - Invalid Identifier
    How can I resolve this ? 
    Thanks
    Solved!
    Go to Solution.

    Call Rogers back and ask (demand politely ) that  your issue be escalated to the RIM tech support level, for free. They will do that. There is no reason for you to pay for per incident support.
    Rogers would not give you any reason for the Suspension?
    What was suspended, your Rogers account, your PIN, your what?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • "XMLAGG": invalid identifier??

    I have some SQL code that works fine in TOAD.. I run the query (wrapped in a to_clob) and it works, no problem. However I put the same code in a Procedure and I get compile errors:
    PLS-00306: wrong number or types of arguments in call to 'XMLAGG'
    PL/SQL: ORA-00904: "XMLAGG": invalid identifier
    PLS-00364: loop index variable 'C1' use is invalid
    I'm stumped, please help!
    CREATE OR REPLACE PROCEDURE SEARCHLOCATIONSBYMANAGER ( xml OUT CLOB)
    AS
    BEGIN
       xml := EMPTY_CLOB();
      DBMS_LOB.CREATETEMPORARY(xml, true);
      for c1 in
            SELECT XMLELEMENT ( "node", XMLATTRIBUTES(label as "label"), daXML).getClobVal() myXML
            FROM
              SELECT name as label,
                XMLAGG (XMLELEMENT ( "node",
                        XMLATTRIBUTES ( name as "mgrname",
                                        location as "location",
                                        location as "label",
                                        locationcode as "locationCode",
                                        city as "city",
                                        stateid as "stateID",
                                        state as "state")) ORDER BY name, state, city, locationcode ) as daXML
              FROM
                (SELECT Distinct li.state as stateid, li.city,
                  li.location as locationcode, li.descr as location,
                  (SELECT state FROM states WHERE abbreviation = li.state) as state,
                  p.name, p.posnbr, p.emplid
                  FROM location_info li, pspath p
                  WHERE Upper(substr(name, instr(name, ',')+1)) Like Upper('a%')
                    AND Upper(substr(p.name, 1,instr(name, ',')-1)) Like Upper('a%')
                    AND p.jobcode IN ( '10791', '10793','11678')
                    AND p.emplid = li.emplid )
              GROUP BY name
              ORDER BY name
      loop
      DBMS_LOB.APPEND(xml, c1.myXML);
      end loop;
    END;
    /

    No access to an installation to check this one but can you try
    CREATE OR REPLACE PROCEDURE SEARCHLOCATIONSBYMANAGER ( xml OUT CLOB) AS
         myXML CLOB;
         CURSOR getXML as
         SELECT XMLAGG(XMLELEMENT ( "node", XMLATTRIBUTES(label as "label"),  daXML))) myXML
            FROM
      BEGIN  
          for c1 in getXML loop
               myXML := myXML.getCLobVal();
          end loop;
      END;

  • Unable to connect to 11i client to 11i server through OCI calls

    Hello All,
    We have a C++ application which uses oci calls to connect to Oracle database. The application is built with 9i libraries. When we connect we try 11i client and 11i server combination, we are not able to connect to the db. We are able to connect to the db via sqlplus but not via our application.
    The same application works fine when we use Oracle 9i client and 10gR2 server. What is the change from 9i to 11i that is causing this problem. Do I need to rebuild the product with 11i headers and libraries?
    The error message in our log file is: oci.so: invalid mode for dlopen(): Invalid argument
    Any help is appreciated.
    O.S: Redhat Linux
    DB: 11i
    Thanks in advance
    Radhika

    Hi Radhika, I think you picked the wrong forum. See the forum called 'Call Interface' for OCI questions
    Oracle Call Interface (OCI)

  • Unable to connect to 10gR2 client to 10gR2 server through OCI calls

    Hello All,
    We have a C++ application which uses oci calls to connect to Oracle database. The application is built with 9i libraries. When we connect we try 10gR2 client and 10gR2 server combination, we are not able to connect to the db. We are able to connect to the db via sqlplus but not via our application.
    What is the change from 9i to 10gR2 that is causing this problem. Do I need to rebuild the product with 10gR2i headers and libraries?
    The error message in our log file is: oci.so: invalid mode for dlopen(): Invalid argument
    Any help is appreciated.
    O.S: Redhat Linux
    DB: Oracle 10.2.0.1.0
    Thanks in advance
    Radhika

    rebuild the image with 10g

  • Table creation and getting  invalid identifier

    Thank you so much Ed (and all who replied) to my previious post !!!!, You are all being extremely helpful,
    I actually have another issue... SHould I repost a new thread or continue on this one?
    Here is my issue.
    create table DonationEvent
    ( "EventID" NUMBER(1,1) Not Null,
    "EventNumber" NUMBER(1,1) Not Null,
    "Type" Char(30) Not Null,
    "OrganizerName" Char(30) Not Null,
    "Location" Char(30) Not Null,
    "Date" NUMBER(10,1) Not Null,
    "Duration" Char(30) Null,
    "DonationTotal" NUMBER(10,1) Not Null,
    Primary Key (EventID),
    Getting ORA-00904: : invalid identifier
    Also I am using Express Edition 10g, how can I get a context view to see the line where error is occuring?

    user8776250 wrote:
    Thank you so much Ed (and all who replied) to my previious post !!!!, You are all being extremely helpful,
    I actually have another issue... SHould I repost a new thread or continue on this one?
    Here is my issue.
    create table DonationEvent
    ( "EventID" NUMBER(1,1) Not Null,
    "EventNumber" NUMBER(1,1) Not Null,
    "Type" Char(30) Not Null,
    "OrganizerName" Char(30) Not Null,
    "Location" Char(30) Not Null,
    "Date" NUMBER(10,1) Not Null,
    "Duration" Char(30) Null,
    "DonationTotal" NUMBER(10,1) Not Null,
    Primary Key (EventID),
    Getting ORA-00904: : invalid identifier
    Also I am using Express Edition 10g, how can I get a context view to see the line where error is occuring?Does Express edition have sqlplus?
    SQL> set echo on
    SQL> @doit1
    SQL> create table DonationEvent
      2  ( EventID NUMBER(1,1) Not Null,
      3  EventNumber NUMBER(1,1) Not Null,
      4  Type Char(30) Not Null,
      5  OrganizerName Char(30) Not Null,
      6  Location Char(30) Not Null,
      7  Date NUMBER(10,1) Not Null,
      8  Duration Char(30) Null,
      9  DonationTotal NUMBER(10,1) Not Null,
    10  Primary Key (EventID),
    11  );
    Date NUMBER(10,1) Not Null,
    ERROR at line 7:
    ORA-00904: : invalid identifier
    SQL>And as SB said,
    1) In oracle you really, really, REALLY don't want mixed case object (column, table, etc) names. Lose the double quotes.
    2) don't use reserved words (like 'date') as object names.
    also
    3) there's no good reason to use CHAR instead of VARCHAR2
    4) If you want a date (indicated by your badly named column 'date', make the datatype DATE, not number
    5) you need to look at how your NUMBER columns are defined and ask yourself if that's what you really want. NUMBER(1,1) means one digit, with one digit in the decimal location. NUMBER(10,1) means a total of 10 digits, with one of them in the decimal location
    SQL> create table DonationEvent
      2  ( EventID NUMBER(1,1) Not Null primary key,
      3    DonationTotal NUMBER(10,1) Not Null
      4  );
    Table created.
    SQL> --
    SQL> insert into donationevent values (1.2, 1234567891);
    insert into donationevent values (1.2, 1234567891)
    ERROR at line 1:
    ORA-01438: value larger than specified precision allowed for this column
    SQL> insert into donationevent values ( .2, 1234567891);
    insert into donationevent values ( .2, 1234567891)
    ERROR at line 1:
    ORA-01438: value larger than specified precision allowed for this column
    SQL> insert into donationevent values ( .2, 123456789.1);
    1 row created.
    SQL> insert into donationevent values ( .3, 12345678.9);
    1 row created.
    SQL> --
    SQL> commit;
    Commit complete.
    SQL> --
    SQL> select * from donationevent;
       EVENTID DONATIONTOTAL
            .2     123456789
            .3    12345678.9
    2 rows selected.
    SQL>

  • 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

Maybe you are looking for