ORA-01704 error while running dbms_sql for a clob

Hi,
I'm running following code and getiing error ORA-01704: string literal too long
declare
cursor_name INTEGER;
t1 clob;
t2 clob;
r number;
begin
select a1 into t1 from temp
where n1 = 'test';
t2 := 'insert into temp (a1,n1) values (''' || t1 || ''',''test12'')' ;
cursor_name := dbms_sql.open_cursor;
DBMS_SQL.PARSE(cursor_name, t2, DBMS_SQL.NATIVE);
r := DBMS_SQL.EXECUTE(cursor_name);
DBMS_SQL.CLOSE_CURSOR(cursor_name);
dbms_output.put_line(r);
end;
clob t1 is 32598 butes long.
in temp table a1 is a clob.
Could anyone please tell me why the error and how to solve the problem.
Thanks
Tarun

This is one of the many posts over here where the OP can not be bothered to include the four digit version number.
I can never understand why the version number is left out other than out of rudeness, arrogance and utter laziness.
Apparently the small lot here responding should be clairvoyant and/or remember all version numbers.
I'm going to call for a boycot of people posting without version number!!!!
As to the code:
There is no reason why you are using dbms_sql here, you are misusing Oracle, and it should have been static sql.
At least t2 should have been a bind variable, dbms_sql does support bind variables!
As far as I know the command string should be a varchar2, not a clob, and if t2 is a bind variable there is no need for t1 to be a clob.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Error while running ETL for Financials_Oracle R1213.

    Hi All,
    I have done all installation and configuration for OBIA 7.9.6.4. I am getting following error while running ETL for Financials_Oracle R1213.
    ===========================================================================================================
    1)While starting DAC server, I am getting following  error:
    SEVERE: Incorrectly specified Post-Etl Script/Executable
    ================================================================================================================
    2) After starting ETL Financials_Oracle R1213,
    ANOMALY INFO::: Error while executing : INFORMATICA TASK:SILOS:SIL_InsertRowInRunTable:1:(Source : FULL Target : FULL)
    MESSAGE:::
    Irrecoverable Error
    pmcmd startworkflow -sv BIA_IS -d Domain_oracle2go2.us.oracle.com -u Administrator -p ****  -f SILOS  -paramfile /home/oracle/Informatica/9.0.1/server/infa_shared/SILOS.SIL_InsertRowInRunTable.ORA_R1213_Flatfile.txt  SIL_InsertRowInRunTable
    Status Desc : Failed
    WorkFlowMessage :
    Error Message : Unknown reason for error code 36331
    ErrorCode : 36331
    EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.IrrecoverableException
    com.siebel.analytics.etl.etltask.InformaticaTask.doExecute(InformaticaTask.java:254)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:477)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)
    com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    java.util.concurrent.FutureTask.run(FutureTask.java:138)
    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    java.util.concurrent.FutureTask.run(FutureTask.java:138)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    java.lang.Thread.run(Thread.java:619)
    (Number of retries : 1) pmcmd startworkflow -sv BIA_IS -d Domain_oracle2go2.us.oracle.com -u Administrator -p ****  -f SILOS  -paramfile /home/oracle/Informatica/9.0.1/server/infa_shared/SILOS.SIL_InsertRowInRunTable.ORA_R1213_Flatfile.txt  SIL_InsertRowInRunTable 2013-11-27 11:26:59.923 INFORMATICA TASK:SILOS:SIL_InsertRowInRunTable:1:(Source : FULL Target : FULL) has finished execution with Failed status.2013-11-27 11:26:28.855 Acquiring Resources 2013-11-27 11:26:28.857 Acquired Resources  2013-11-27 11:26:28.858 INFORMATICA TASK:SILOS:SIL_InsertRowInRunTable:1:(Source : FULL Target : FULL) has started.   ANOMALY INFO::: Error while executing : INFORMATICA TASK:SILOS:SIL_InsertRowInRunTable:1:(Source : FULL Target : FULL)MESSAGE:::Irrecoverable Errorpmcmd startworkflow -sv BIA_IS -d Domain_oracle2go2.us.oracle.com -u Administrator -p ****  -f SILOS  -paramfile /home/oracle/Informatica/9.0.1/server/infa_shared/SILOS.SIL_InsertRowInRunTable.ORA_R1213_Flatfile.txt  SIL_InsertRowInRunTableStatus Desc : FailedWorkFlowMessage : Error Message : Unknown reason for error code 36331ErrorCode : 36331EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.IrrecoverableException
    com.siebel.analytics.etl.etltask.InformaticaTask.doExecute(InformaticaTask.java:254)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:477)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)
    com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    java.util.concurrent.FutureTask.run(FutureTask.java:138)
    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    java.util.concurrent.FutureTask.run(FutureTask.java:138)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    java.lang.Thread.run(Thread.java:619)
    (Number of retries : 1)
    pmcmd startworkflow -sv BIA_IS -d Domain_oracle2go2.us.oracle.com -u Administrator -p ****  -f SILOS  -paramfile /home/oracle/Informatica/9.0.1/server/infa_shared/SILOS.SIL_InsertRowInRunTable.ORA_R1213_Flatfile.txt  SIL_InsertRowInRunTable
    2013-11-27 11:26:59.923 INFORMATICA TASK:SILOS:SIL_InsertRowInRunTable:1:(Source : FULL Target : FULL) has finished execution with Failed status.
    ====================================================================================================================
    Could anyone please help me to resolve this error?
    Regards,
    Narottam

    Did you configured Informatica???

  • Stack overflow error while running Jprofiler for Jboss 4.0.2

    I am getting the below mentioned error while running Jprofiler for Jboss App server.
    My JVM version on linux is:
    03:39:16,286 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
    03:39:16,287 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b07,Sun Microsystems Inc.
    03:39:16,287 INFO [ServerInfo] OS-System: Linux 2.6.9-34.ELsmp,i386
    Could pass any pointers what could be wrong. This is first time I am using Jprofiler.
    TIA,
    Sachin
    =========================================================================
    JBoss Bootstrap Environment
    JBOSS_HOME: /opt/myApp/Jboss-app
    JAVA: /usr/java/jdk1.5.0_03/bin/java
    JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=runjboss.sh -javaagent:/opt/myApp/Jboss-app/bin/pluggable-instrumentor.jar -DSUN_AM_URL=https://hpss3.ca.myApp.com:68081 -DWhenToUse=never
    CLASSPATH: /opt/myApp/Jboss-app/bin/run.jar:/usr/java/jdk1.5.0_03/lib/tools.jar
    =========================================================================
    JProfiler> Protocol version 22
    JProfiler> Using JVMTI
    JProfiler> 32-bit library
    JProfiler> Listening on port: 8849.
    JProfiler> Native library initialized
    Error occurred during initialization of VM
    java.lang.StackOverflowError

    You could try increasing the thread stack size, e.g. something like
    'java -XX:ThreadStackSize=768 ...'
    But you should really be asking the JProfiler people, they would probably give you better advice.
    -kto

  • Error while running procedure for refreshing AWS

    Hello There,
    I am using a procedure which consists the script of refreshing the analytic workspace. I call this procedure from Business objects data services for automatic refresh.
    It used to work perfectly until the recent changes implemented.
    The issue is, when I run the procedure the cube refreshes successfully. When the same procedure is called from BODS, it shows an error.
    Error is :: XOQ-01601: error while loading data for cube dimension "BI_PETRA_DWH.ACTIVITY_TIME"  into analytic workspace
    Underlying DB error is : ORA-01858: a non -numeric character was found where a numeric was expected.
    I dont get this error if I run procedure directly in SQL developer.
    I verified attribues of dimension, there is only one numeric attribute and it is mapped to only numeric columns of view.
    Can you please help me fixing this issue?
    Thanks in advance.

    Hello There,
    I am using a procedure which consists the script of refreshing the analytic workspace. I call this procedure from Business objects data services for automatic refresh.
    It used to work perfectly until the recent changes implemented.
    The issue is, when I run the procedure the cube refreshes successfully. When the same procedure is called from BODS, it shows an error.
    Error is :: XOQ-01601: error while loading data for cube dimension "BI_PETRA_DWH.ACTIVITY_TIME"  into analytic workspace
    Underlying DB error is : ORA-01858: a non -numeric character was found where a numeric was expected.
    I dont get this error if I run procedure directly in SQL developer.
    I verified attribues of dimension, there is only one numeric attribute and it is mapped to only numeric columns of view.
    Can you please help me fixing this issue?
    Thanks in advance.

  • ORA-01503 and ORA-01110 Errors while running adcfgclone.pl dbTier

    Hi,
    I am working on R12 on IBM AIX as I am cloning from one system to another I am facing some errors while running adcfgclone.pl for database tier.
    Following is the log from the adcfgclone.pl as it fails;
    Creating the control file for CLONE_test database ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 6 10:32:43 2010
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
    ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size                  2160600 bytes
    Variable Size             427821096 bytes
    Database Buffers          624951296 bytes
    Redo Buffers               14004224 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
    *+
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 22: '/u04/oracle/proddata/applsysx01.dbf'
    alter database open resetlogs
    *+
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u03/oracle/proddata/temp01.dbf' REUSE
    *+
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.testcom.com"
    *+
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
    ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size                  2160600 bytes
    Variable Size             427821096 bytes
    Database Buffers          624951296 bytes
    Redo Buffers               14004224 bytes
    ORA-03113: end-of-file on communication channel
    Process ID: 1278120
    Session ID: 1105 Serial number: 3
    ERROR:
    ORA-03114: not connected to ORACLE
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    Connected.
    ORA-01031: insufficient privileges
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    Disconnected
    exit_code=1
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 6 10:33:12 2010
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Disconnected
    +.end std out.+
    +.end err out.+
    I have checked the log for preclone from the source machine but there are no errors. Below are the last lines of preclone log file
    Zip2 - Completed native zipping sh -c "cd /u02/oracle/proddb/10.2.0/appsutil/out/PROD_testcom/; zip  -q  -y /u02/oracle/proddb/10.2.0/appsutil/clone/data/stage/adcrdb.zip -@ ; echo ERRORCODE = $? ERRORCODE_END"
    Done...
    +#############################################################+
    StageDBTier Finished at Tue Aug 31 16:50:19 GMT03:00 2010+
    Status: Completed Successfully
    +#############################################################+
    Please advice.
    Regards

    Hi user:
    1. Yes the database and lsnr were closed as the tar files were created. So, i assume thate there are no any oracle session avalibale when you copy files from source to target
    2. Yes I would also like to mention that it already had an old instance. So this is just a new clone. So, i mention you have valid entery on /etc/hosts file
    3. Please can you describe what permissions as from root user it was done as
    chown -R oratest:dba <db tier folders> If your target user is oratest than syntax seems correct, did you copy oracle_home too from source to target and this home owner is oratest again right?
    Regard
    Helios

  • Error while running TPM_MIGRATION for CFM upgrade

    Hi All,
    While running TPM_MIGRATION for upgrade, executing steps for conversion in company code I am getting folowing error.
    Step : D42- OTC: Enhance parallel business transaction
    Error : Position management category in PMP 2000 is not compatible with product type EI
    I have tried changing Pos management category in PMP (pos management procedure) but didnt get the right one.
    If any one can help me if there is some other config required apart from TPM_Migration for upgrade which I am missing.
    Thanks in advance,
    Amit Goyal

    Hi,
    Thanks for your reply.
    Product type EI is External Swap Normal Hedge, & Product category is SWAP. I tried changing Pos Management category but then it threw error for some other product type.
    Thanks
    Amit Goyal
    Edited by: ca_amit_spidey on Dec 13, 2010 7:45 AM

  • ORA-03147 error while running Alert

    I am getting “ORA-03147: Missing mandatory TTC field” error while running an alert. I can share error screenshot and the alert query, if needed. (not putting right now as the query is huge)
    Please note that alert query runs perfectly fine in PLSQL Developer.
    Any prompt suggestion/help is appreciated.

    Please find the alert query and error screenshot at below links:
    https://docs.google.com/leaf?id=0B6W2rsWyyNGMMmJhNjQ5OTAtZGM1Ni00ZTY3LWJmNTEtM2RiYmUyYmJiNzFl&hl=en_US
    https://docs.google.com/document/d/1yseUqYQYYPwnoMhnN1s1WFpkb1FjpWLniALGTHdhzfw/edit?hl=en_US
    I cannot access the files in the above links.
    Thanks,
    Hussein

  • Error while running Deferral for August month in RERX module

    Hi Form,
    Can any body help me as I am getting error while running Deferral run for August month. Error Description is
    "Accrual subobject IS10000000001000057/4BC487BDCA9200E8E1008000AC10025F not found"
    We had already taken advance rent for the customer and Deferral is running fine till July month but in August month this error is coming.
    Please help me out.
    Thanks & Regards,
    Shailendra Tyagi

    Hi Shailendra,
    please check the SAP note 1263230 and the mentioned report Z_REFX_CORRECT_ACEHEADER.
    This should help to solve the reported issue.
    Regards,
    Christian

  • Error while running eCATT for Best Practice HR- US

    HI All,
    I am executing BC sets through eCATT for implementing Best Practice of HR for US. While running eCATT i am getting two errors, i am not in a positiong to find out a solution. Can you guys please share your throghts.
    Error messages are as follows:
    1) Error in eCATT command CHEVAR
        Condition not fulfilled
    2) Error in eCATT command ABAP
        LOCAL GENERATION LIMIT 36 SUBPOOL REACHED
    Looking forward to the response
    Thanks & Regards
    Shyam V

    Hi Shyam,
                  I was just wondering if this document may help the query you were looking for
    http://help.sap.com/saphelp_nw04/helpdata/en/43/2f34413f97f323e10000000a155106/frameset.htm
    Hope you decode the error.
    Have a best day ahead.

  • ORA-12514 error while running adcfgclone.pl

    Dear Hussein,
    We are cloning an R12 instance, while running adcfgclone.pl dbTier, we are gettign the below error:
    ============================================================
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : db1
    sDbDomain : ******.com
    sDbPort : 1551
    sDbSid : ERPUAT
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@db1.******.com:1551:ERPUAT
    Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db1.******.com)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=ERPUAT)))
    Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db1.******.com)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=ERPUAT.******.com)))
    Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    Connection could not be obtained; returning null
    =============================================================
    and in alert log file, there is below error:
    =============================================================
    alter database open resetlogs
    ORA-1194 signalled during: alter database open resetlogs...
    alter tablespace TEMP1 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp01.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp01.dbf' REUSE...
    alter tablespace TEMP2 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp02.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP2 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp02.dbf' REUSE...
    Sun Sep 13 23:53:24 2009
    Shutting down instance (abort)
    License high water mark = 1
    USER (ospid: 1809): terminating the instance
    Instance terminated by USER, pid = 1809
    Sun Sep 13 23:53:25 2009
    Instance shutdown complete
    ================================================
    Please suggest
    Bilal
    Edited by: user5499416 on Sep 14, 2009 12:24 AM
    Edited by: user5499416 on Sep 14, 2009 12:52 AM

    Bilal,
    Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directoryPlease verify that the database was created successfully and it is up and running.
    Regards,
    Hussein

  • Run time error while running BDC for production order creation and confirmation:

    Dear Gurus,
    We have a situation, where the users are trying to do the entries creation of order or confirmation (through manual and BDC). But, if there is any kind of a deficit quantities in consumption or GR quantity, then it is going to run time error and Dumps are coming in program SAPLCORB
    and the transaction code is coming for CO11N.
    How to avoid this error to run the production system in smoothing way...Any flash lights on this will be great full
    Regards,
    Madhu.G

    Hi Madhu,
    Expert Caetano has rightly point out. Refer Note 1840705 - RAISE_EXCEPTION short dump if running CO11N in background
    Cause
    The short dump is triggered because SAP transaction CO11N contains new GUI elements that cannot always be dealt with in a background process,
    such as the confirmation texts.
    Resolution
    SAP recommends that the standard production order BAPIs, such as BAPI_PRODORDCONF_CREATE_TT, should be used to post a confirmation in background.
    If this is not feasible, the following workaround may be uses:
    Define a confirmation profile in transaction OPK0; 
    In the detail areas, remove the area "Confirmation text"; 
    Set this profile as standard, so that it is chosen automatically by the system when a batch-job
    is started; 
    Assign this confirmation profile to the batch user with transaction SU3 using parameter CORUPROF.
    Also see Note 429432 - CO11N: Batch input in background dumps if long text is maintained
    Refer to note 1154692 - Endless loop during confirmation in background if you doing Auto GR during confirmations
    Thanks & Regards,
    Ramagiri

  • ORA-03120 error while running XML on 8.1.7

    Hi Steve and others,
    We were getting errors returned XSU on Oracle 8.1.6 whenever the query resultset exceeded certain size. Steve, if you remember you advised us to move up to 8.1.7 which apparently fixes the bug.
    I did.
    But now whenever I run a XML statement I get
    this error:
    select xmlgen.getXML('select content_id from
    bc_content where content_id < ''100''', 1) from dual
    ORA-03120: two-task conversion routine: integer overflow
    Now, I didn't install XSU again on this database. I believe that's pre-installed with 8.1.7. But do I need to install it on top? Or is there some other issue I am not aware of?
    Thanks in appreciation,
    NM
    null

    Steve,
    Thanks very much for replying. Here is the rub: I get this error for EVERY statement (involving XML etc) that is executed through SQL*Net. But on SQLPlus of the server the queries run just fine.
    I analyzed and found the following:
    *** On server SQLPLUS of 8.1.7 database:
    SQL> select xmlgen.getXML('select content_id from bc_content where content_id < ''1800''', 1) from dual ;
    XMLGEN.GETXML('SELECTCONTENT_IDFROMBC_CONTENTWHERECONTENT_ID<''1800''',1)
    <?xml version = '1.0'?>
    <!DOCTYPE ROWSET [
    <!ELEMENT ROWSET (ROW)*>
    <!ELEMENT RO
    ** On a client for the new 8.1.7 database (BTW We didn't upgrade the client)
    ORA-03120: two-task conversion routine: integer overflow
    Ora-3120 is a TWO-TASK error.
    Typically something is wrong for two-task errors with either
    (a) Database. Which is not the case. As we saw the query works when executed from server the query works!
    (b) Application Code: Which is not. As it works with the version of application talking to 8.1.6 database (which fails when filesize retrievd is big. Doesn't fail always)
    (c) Network (SQL*Net): And the error is HERE! That's why even though the query is executed on server we fail to execute it on a client.
    Our clients are on SQL*Net belonging to Oracle 8.1.6 as well. But we talk to an Oracle 8.1.7 server. Theoritically 8.1.6 client should work just fine with 8.1.7 server.
    Thanks very much again for replying,
    NM

  • ORA-00904 Error while running CMP EJB

    When I am running my CMP bean, I get following error,
    2006-07-02 09:58:17,171 DEBUG org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.AccountBean#fi ndByAccountNumber] Executing SQL: SELECT t0_a.ACCOUNT.UOID FROM ACCOUNT t0_a WHERE (t0_a.ACCOUNT.ACCOUNT_NUMBER = ?)
    2006-07-02 09:58:17,250 ERROR [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.AccountBean#fi ndByAccountNumber] Find failed java.sql.SQLException:
    ORA- 00904: "T0_A"."ACCOUNT"."ACCOUNT_NUMBER": invalid identifier.
    Why is it giving invalide identifier? the length of this identifer is also less then 30 and there are no special characters being used in it.

    I think I have read that you cannot use the "." to navigate through the object, you can only use it for accessing a field of an object (i.e. a column of a table in the DB).
    So, never use more than 1 "." in your requests. In your case, I guess that you need to reformulate the request.

  • Getting an unusual error while running transaction for rebate settlement

    Hi Experts ,
    While i am running a customized transaction for vb7 that is rebate settlement , I have input field on agreement screen of payment method . Whenever , i put any value in that field and run the transaction , it gives me an error " Input values must be defined in Table T042Z. The value or
    values ' T ' are not specified in this table. " whereas when i check the table T042Z for payment method values , the values i m entering are present there . I cannot get why its showing this error .
    Could anyone plz help as its very urgent req ..
    Thanks in advance ..
    Ankit

    Ankit,
    Set a breakpoint very early in the program's soruce code.  When you hit that breakpoint in the debugger, go to the menu bar and choose Breakpoints > Breakpoint at > Statement .  Enter the word MESSAGE into that pop-up window and continue the program's execution.
    This will stop the debugger at all MESSAGE statements... Including the one that is generating your error.  You can then analyze the code just prior to that error.... and address the issue accordingly.

  • Error while running query for psoting period as varaible

    hello,
    I am running a query and posting period is variable single entry mandatory and when I run the query it gives me this error.
    Variable 0I_PCURR could not be replaced.
    Variable 0I_PCURR could not be replaced.
    What might be the issue here ?
    Thanks,

    Hi KM,
    When you want to use a fiscal period, you need to say whick fiscal variant you'll be using.
    This fiscal variant, depends on the company code you are using.
    You might find out with some FI person how many fiscal variants are using at your company. If it's only one (or at least only one applies for this query), add 0FISCVARNT infoobject in your query and select the fiscal variant you were told.
    But, as you are using a BC variable, maybe this variable needs to use 0comp_code infoobject to determine automatically the fiscal variant.
    So,
    1. try selecting a fiscal variant in filters.
    2. try adding 0comp_code to your query.
    hope this helps!
    Regards,
    Diego

Maybe you are looking for

  • Use the new functionality "multiple page size" in an indesign book

    I've creating an indesign book, in wich one chapter has a different (bigger /A3) page size. Indesign creates the book in pdf using the bigger page size, and do not use the real page size of every chapters. Why? Thanks for help !

  • Everything in After Effects is SUPER pixelated

    Everything is pixelated. Whether I import an image, make a shape, or type in some text, everything is so pixelated! The pixels are HUGE. Like a centimeter across. Here is a screenshot: http://i43.tinypic.com/2vc6bsl.jpg That is a shape with some text

  • Create a deposit for bill of exchange

    Hello professionals I try to create a deposit for bill of exchange but without success..here is my code SAPbobsCOM.BillOfExchangeTransaction oBOEtrans = (SAPbobsCOM.BillOfExchangeTransaction)Program.oDiCompany.GetBusinessObject(SAPbobsCOM.BoObjectTyp

  • Using Pages how do I export as an RTF?

    I am new to pages and need to write a paper for school and the professor wants it sent in RTF file.  How do I do that?

  • Pos software lost playlists after updating

    So I updated Itunes and the program erased my playlists. Some are on my ipod, how do I restore them with out manually doing every bloody one. And how do I get the ones not on the ipod back. <edited by host>