Getting ORA-00604 along with ORA-06502

Hi,
I am running following query in my database server (for JD enterprise One Application)
CREATE TABLE TMPLDTA.F0031 (AVUKID NUMBER, AVAN8BK NUMBER, AVUPMJ NUMBER(6), AVU
PMT NUMBER, AVPID NCHAR(10), AVUSER NCHAR(10), AVJOBN NCHAR(10)) tablespace tmpl
dtat storage ( pctincrease 0 )
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at line 7
when I do it from another id(my id with DBA role) it works but when I(application administrator) do it from application superuser's id, it throws above error.
*** application super user is also having DBA access.
Is it any issue regarding trigger?? Or can anyone Please help me regarding this error's solution..
-Thanks

Elapsed: 00:00:00.34
SQL> CREATE TABLE TMPLDTA_F0031
  2    (
  3     AVUKID  NUMBER ,
  4     AVAN8BK NUMBER ,
  5     AVUPMJ  NUMBER(6) ,
  6     AVUPMT  NUMBER ,
  7     AVPID NCHAR(10) ,
  8     AVUSER NCHAR(10) ,
  9     AVJOBN NCHAR(10)
10    )
11    TABLESPACE tmpldtat STORAGE
12    (
13     PCTINCREASE 0
14    )
15  /
Table created.
Elapsed: 00:00:00.28No error , Are you running this on SQL Plus ?
saha wrote:
Is it any issue regarding trigger?? Or can anyone Please help me regarding this error's solution..
-ThanksPlease check any DB level trigger are there ?
-RB

Similar Messages

  • Itunes was deleted from laptop after changing credit card info and password.  How do I get it back along with all songs that was on my account

    itunes was deleted from laptop after changing credt card infor and password.  How do I get it back along with all of its contents?

    I suspect unless he had some items in iCloud backup then they are gone.  Connecting an iPhone to a different library from that to which it was previously connected will result in the device asking if you want to erase it.

  • Ora-00604 error and ora 01000 error while report generation.

    hi all,
    I am trying to generate the multiple reports of same template through a program.
    While this job is running, i get the following error at the BIP console and the reports don't get generated.
    [101711_044115578][][EXCEPTION] java.sql.SQLException: ORA-00604: error occurred
    at recursive SQL level 1
    ORA-01000: maximum open cursors exceeded
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01000: maximum open cursors exceeded
    ORA-01000: maximum open cursors exceeded
    Kindly help.
    Thanks.

    Lots of resources with a simple search to see what this is about, for example:
    http://www.orafaq.com/wiki/ORA-01000
    ORA-01000:     maximum open cursors exceeded
    Cause:     A host language program attempted to open too many cursors. The initialization parameter OPEN_CURSORS determines the maximum number of cursors per user.
    Action:     Modify the program to use fewer cursors. If this error occurs often, shut down Oracle, increase the value of OPEN_CURSORS, and then restart Oracle.
    open_cursors parameter
    http://download.oracle.com/docs/cd/E11882_01/server.112/e25513/initparams160.htm#REFRN10137
    Oracle support note:
    OERR: ORA-1000 maximum open cursors exceeded (Doc ID 18591.1)

  • How to get terminal address along with Change document header

    Dear All
    My client want a report of the frequencies of a sales document changes along with terminal address. In table CDHDR i can get user name, date, t-code but not the terminal address. So requesting to guide me of how to get the terminal address from which terminal the document has been updated.
    Appropriate answer will be rewarded.
    Regards
    Kingshuk
    Edited by: Kings_Roy on May 31, 2010 11:02 AM

    I don't think this information is kept in change documents.  So for the change documents that are already created, you cannot get this information.
    For future however you can do some code changes to get this information.
    Function module TH_USER_INFO can return terminal name as well as IP address for a given client and user.
    All you have to do is either store this additional information along with change documents. For this i think you can check the FMs that are writing SD change documents. 
    OR
    You can use user exit exit SUSR0001 (User exit after logon to SAP System) to call this Function (TH_USER_INFO) at user logon and store this info in a Z table. Later when you are reading change documents, you can get user name, date time from change document and search this Z table for respective user Terminal name and IP Address.
    This is not a complete solution but i hope it will direct you to a solution.
    cheers.

  • Login issues with xelsysadm along with ORA-01000 (cursor exceeded) error

    Hi,
    I am facing an strange problem.
    Because of below error i am facing an intermitant issues for login to OIM web console and Design console with user xelsysadm. Some time the login in successfull else the error is generated.
    For the error -- ORA-01000: maximum open cursors exceeded
    We had talked to DB team an increased the cursor limit from 300 to 800. But still the same issue.
    So, let me know whether this can be resolved if i take bounce of the web logic server or there is some other solution?
    Thanks in advance and some respond ASAP as this is production server and this issue need to be resolved soon.
    Getting below errors in the system:
    ERROR,20 Apr 2011 08:35:19,613,[XELLERATE.WEBAPP],Class/Method: tcLogonAction/execute encounter some problems: User account is invalid. Username: xelsysadm
    ERROR,20 Apr 2011 08:40:00,056,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: Authenticate/connect encounter some problems: ORA-01000: maximum open cursors exceeded
    java.sql.SQLException: ORA-01000: maximum open cursors exceeded
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:785)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:860)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3425)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1490)
    at com.thortech.xl.security.Authenticate.getPropertyValue(Authenticate.java:459)
    at com.thortech.xl.security.Authenticate.connect(Authenticate.java:117)
    at com.thortech.xl.security.Authenticate.connect(Authenticate.java:71)
    at com.thortech.xl.security.wl.XellerateLoginModuleImpl.login(XellerateLoginModuleImpl.java:159)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
    at sun.reflect.GeneratedMethodAccessor7737.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:113)
    at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
    at $Proxy16.login(Unknown Source)
    at weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceImpl.login(Unknown Source)
    at com.bea.common.security.internal.service.JAASAuthenticationServiceImpl.authenticate(JAASAuthenticationServiceImpl.java:82)
    at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
    at $Proxy34.authenticate(Unknown Source)
    at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(Unknown Source)
    at weblogic.security.service.PrincipalAuthenticator.authenticate(Unknown Source)
    at weblogic.security.acl.internal.Security.authenticateLocally(Security.java:127)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:165)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:146)
    at weblogic.security.auth.Authenticate.authenticate(Authenticate.java:112)
    at weblogic.security.auth.login.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:184)
    at sun.reflect.GeneratedMethodAccessor7746.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(Unknown Source)
    at Thor.API.tcUtilityFactory.<init>(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
    ERROR,20 Apr 2011 08:40:00,058,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: XellerateLoginModuleImpl/login encounter some problems:
    com.thortech.xl.security.tcLoginException:
    at com.thortech.xl.security.tcLoginExceptionUtil.createException(tcLoginExceptionUtil.java:96)
    at com.thortech.xl.security.tcLoginExceptionUtil.createException(tcLoginExceptionUtil.java:67)
    at com.thortech.xl.security.Authenticate.connect(Authenticate.java:269)
    at com.thortech.xl.security.Authenticate.connect(Authenticate.java:71)
    at com.thortech.xl.security.wl.XellerateLoginModuleImpl.login(XellerateLoginModuleImpl.java:159)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
    at sun.reflect.GeneratedMethodAccessor7737.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:113)
    at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
    at $Proxy16.login(Unknown Source)
    at weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceImpl.login(Unknown Source)
    at com.bea.common.security.internal.service.JAASAuthenticationServiceImpl.authenticate(JAASAuthenticationServiceImpl.java:82)
    at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
    at $Proxy34.authenticate(Unknown Source)
    at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(Unknown Source)
    at weblogic.security.service.PrincipalAuthenticator.authenticate(Unknown Source)
    at weblogic.security.acl.internal.Security.authenticateLocally(Security.java:127)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:165)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:146)
    at weblogic.security.auth.Authenticate.authenticate(Authenticate.java:112)
    at weblogic.security.auth.login.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:184)
    at sun.reflect.GeneratedMethodAccessor7746.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(Unknown Source)
    at Thor.API.tcUtilityFactory.<init>(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
    ERROR,20 Apr 2011 08:40:00,060,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: tcUtilityFactory/tcUtilityFactory(Hashtable env, tcSignatureMessage poUserIDMessage) encounter some problems: javax.security.auth.login.LoginException: java.lang.SecurityException: [Security:090304]Authentication Failed: User xelsysadm javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User xelsysadm denied
    javax.security.auth.login.LoginException: javax.security.auth.login.LoginException: java.lang.SecurityException: [Security:090304]Authentication Failed: User xelsysadm javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User xelsysadm denied
    at weblogic.security.auth.login.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:199)
    at sun.reflect.GeneratedMethodAccessor7746.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(Unknown Source)
    at Thor.API.tcUtilityFactory.<init>(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
    ERROR,20 Apr 2011 08:40:00,060,[XELLERATE.SERVER],Class/Method: QuartzWrapper/execute encounter some problems: javax.security.auth.login.LoginException: javax.security.auth.login.LoginException: java.lang.SecurityException: [Security:090304]Authentication Failed: User xelsysadm javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User xelsysadm denied
    Thor.API.Exceptions.tcAPIException: javax.security.auth.login.LoginException: javax.security.auth.login.LoginException: java.lang.SecurityException: [Security:090304]Authentication Failed: User xelsysadm javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User xelsysadm denied
    at Thor.API.tcUtilityFactory.<init>(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
    [CMGR WARNING] Removing connection pool siebel.tcpip.None.none://172.30.16.51:2321/UW_PROD/eCommunicationsObjMgrClone_enu/!b.3c26
    <com.siebel.common.common.CSSException>
    <Error><ErrorCode>8716601</ErrorCode> <ErrMsg>Socket had incorrect word size: 0.(SBL-JCA-00313)</ErrMsg></Error>
    </com.siebel.common.common.CSSException>
    at com.siebel.om.conmgr.Connection.readPacket(Connection.java:550)
    at com.siebel.om.conmgr.Connection.run(Connection.java:286)
    at java.lang.Thread.run(Thread.java:619)
    [CMGR FATAL] Error: <com.siebel.common.common.CSSException>
    <Error><ErrorCode>8716601</ErrorCode> <ErrMsg>Socket had incorrect word size: 0.(SBL-JCA-00313)</ErrMsg></Error>
    </com.siebel.common.common.CSSException> connection:d0214e
    *************************************************************************************************************

    Thanks for giving me an solution..
    The cursor limit was incresed from 300 to 800 then for some hours the things went with no issues, the login was successfull and no errors in the logs. But again the same issue had arrisen.
    For now i have taken bounce of the welogic servers because of the bounce i hope the existing/stuckup connections have been released and now the application is working fine and with no issues.
    But is taking the bounce of the application server is the only solution for getting the things back to normal
    Or
    whether we need to take some other steps even after increasing the cursor limit the things don;t work.
    Thanks,

  • ORA-00028 combined with ORA-02063 - preceding line

    Hello,
    We had undergone an SAP release upgrade form SAP 4.7 to SAP 6.0.
    From time to time, some of the customer legacy programs, dumps while trying to enter parameters in the Oracle database. They are not crashing every time but latley every night. After we restart then, they are working ok without a dump.
    We are suspectin an Database peak, that is killing our session.
    If you encounter this type or error before, can you please advise on how to proceed further. To singe out what parameter in Oracle or SAP may need updating ?
    The error is like this:
      Fehlertext der Datenbank...: "ORA-00028: your session has been                  
       killed#ORA-02063: preceding line from VVS"                                     
      Fehlercode der Datenbank...: 28                                                 
      Auslösende SQL-Anweisung...: "update v_sap_sbdc@vvs set sap_uebernahme_dat =    
       trunc ( sysdate ) where vvs_batch_nr = ? "                                     
      Interne Aufrufcodierung....: "[DBDS/NEW DSQL]"           
    Thanks and regards,
    Adrian Irimes

    Hello,
    Thx for following up.
    The ABAP code is :
          EXEC sql.
            update v_sap_sbdc@vvs
            set    sap_uebernahme_dat = trunc(sysdate)
            where  vvs_batch_nr       = :zbtchnr
          ENDEXEC.
    We are suspecting that some think is happening in the database, also if we look to the record in st22, coudl it be also 2062 to blame ?
    FC DBIF_DSQL2_SQL_ERROR                    
    AP ZZVVS                                   
    AI ZZVVS                                   
    AL 2756                                    
    TD 4DBA75995C743122E1000000A0321162        
    XC CX_SY_NATIVE_SQL_ERROR                  
    CM //bas/701_REL/src/krn/runt/abexsql.c#1  
    CF DsqlErrorHandler                        
    CL 2062                                    
    RT 20110430015055                          
    SR 16128                                   
    SP 24576                                   
    SV 0                                       
    SA 17751264                                
    MU 14442872                                
    MF 170688                                  
    SX 18446697011922745759          
    Thx and regards,
    Adrian Irimes

  • Getting the date along with day and time on top right of sreen

    I know this sounds stupid, but I can' get the date to show up on the top right hand corner of screen to the left of the speaker icon. With tiger I had a facsimile calendar with the date and time of day on the bottom of my screen next to dock. Very nice. That disappeared with intro of Leopard ... any advice will be welcome. Steve in Phoenix

    This is the standard function and features of the menubar clock in OS X 10.3 thru 10.5.
    You will need to find a third party application to do what you wish.

  • I lost my apps when updating my ipad...can I get them back along with the data they held?

    I had games like angry birds and smurfs where I had many levels completed and they are gone.  So very frustrating.

    Download Past Purchases
    http://support.apple.com/kb/HT2519
    Log into iTunes using the account the Purchase was made with... Click on Buy... and a notice will come up saying you already have it... do you wish to download it again... Click Yes...

  • Need supplier name along with lot no.

    hello sir,
    i need to show supplier name along with lot no.
    here is my query--
    SELECT DISTINCT(b.vc_field1),a.vc_lot_no,a.nu_balance_qty--, c.VC_SUPPLIER_NAME
    FROM STK_LOT_SUMMARY a, DT_RECEIPT b, makess.mst_supplier c, purchase.MST_SUP_ITEM d
    WHERE a.vc_comp_code = '01'--:GLOBAL.vc_comp_code
    AND a.vc_comp_code = b.vc_comp_code
    AND b.VC_COMP_CODE=c.VC_COMP_CODE
    AND c.VC_COMP_CODE=d.VC_COMP_CODE
    AND c.NU_SUPPLIER_CODE=d.NU_SUPPLIER_CODE
    AND a.VC_LOT_NO=b.VC_LOT_NO
    AND a.vc_item_code=b.vc_item_code
    AND b.vc_item_code=d.vc_item_code
    AND a.vc_item_code = 'SYUWLNZXYWXXX00400100'--:HD_VERIFY.vc_item_code
    --AND b.vc_field1 IS NOT NULL
    AND a.vc_lot_no <> '0'
    AND a.nu_balance_qty > 0
    GROUP BY (a.nu_balance_qty,b.vc_field1, c.VC_SUPPLIER_NAME,a.vc_lot_no)
    whose result is---
    VC_FIELD1     VC_LOT_NO     NU_BALANCE_QTY
         11     48.00
    22 B     8     192.00
    181 A     3     200.00
    54 F     13     244.50
    143     10     400.00
    1343     4     1,000.00
    181     2     1,249.00
    but when i include supplier name(removing comment) result would be....
    VC_FIELD1     VC_LOT_NO     NU_BALANCE_QTY     VC_SUPPLIER_NAME
         11     48.00     Chandak Wools
         11     48.00     Somani Woollen Mills
         11     48.00     Sonu Monu & Brothers
         11     48.00     Somani Woolen Pvt. Ltd
    181 A     3     200.00     Chandak Wools
    181 A     3     200.00     Somani Woollen Mills
    181 A     3     200.00     Sonu Monu & Brothers
    181 A     3     200.00     Somani Woolen Pvt. Ltd
    143     10     400.00     Chandak Wools
    143     10     400.00     Somani Woollen Mills
    143     10     400.00     Sonu Monu & Brothers
    143     10     400.00     Somani Woolen Pvt. Ltd
    1343     4     1,000.00     Chandak Wools
    1343     4     1,000.00     Somani Woollen Mills
    1343     4     1,000.00     Sonu Monu & Brothers
    1343     4     1,000.00     Somani Woolen Pvt. Ltd
    22 B     8     192.00     Chandak Wools
    22 B     8     192.00     Somani Woollen Mills
    22 B     8     192.00     Sonu Monu & Brothers
    22 B     8     192.00     Somani Woolen Pvt. Ltd
    181     2     1,249.00     Chandak Wools
    181     2     1,249.00     Somani Woollen Mills
    181     2     1,249.00     Sonu Monu & Brothers
    181     2     1,249.00     Somani Woolen Pvt. Ltd
    54 F     13     244.50     Chandak Wools
    54 F     13     244.50     Somani Woollen Mills
    54 F     13     244.50     Sonu Monu & Brothers
    54 F     13     244.50     Somani Woolen Pvt. Ltd
    please help me how could i write query to get lot no along with supplier name.
    total no of rows is 7.but while adding supplier name it compare item code and executes 28 rows.
    regards

    Hi Ishika,
    Also check your Joins.
    May be you are missing something else.
    Thatz the reason all the four supplier combination are repeated.
    Go through ur joins again.
    Don't forget to use any number column as nvl(nu_balance_qty,0).

  • Getting Error ORA-00604 While Creating View from front Ent

    Hello All,
    I am getting ORA-00604 while creating view from the front end. And some time I get Maximum cursor open, It is ok amy be I am opening cursors in while loop. While ORA-00604 is giving lots of truble to me. In help it said to contact Oracle service, I dont know how to do that. Help me.

    Please post your view definition including the complete error_message and also the relevant parts of your code with the while loop.

  • Getting error ORA-00604: error occurred at recursive SQL level 1

    Folks getting this error while executing dbms-stats , before to start upgrade to 11g
    any help would be appreciated
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> EXEC DBMS_STATS.GATHER_DICTIONARY_STATS;
    BEGIN DBMS_STATS.GATHER_DICTIONARY_STATS; END;
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01426: numeric overflow
    ORA-06512: at "SYS.DBMS_STATS", line 13336
    ORA-06512: at "SYS.DBMS_STATS", line 13643
    ORA-06512: at "SYS.DBMS_STATS", line 15985
    ORA-06512: at "SYS.DBMS_STATS", line 16027
    ORA-06512: at line 1

    Have you tried to pass the parameters like for example:
    begin
    DBMS_STATS.GATHER_DATABASE_STATS (
    estimate_percent =>100,
    block_sample=>FALSE,
    method_opt=>'for all columns size auto',
    degree=>null,
    cascade=>true,
    no_invalidate=>false,
    options=>'GATHER STALE',
    gather_sys=>FALSE);
    end;
    /http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#i1049486

  • Ora-00604 and Ora-00904 in a With Clause

    Hi:
    If I use a “left outer join” in the then following SQL I get a result set, but when I use a “full outer join” I get ora-00604 and ora-00904. Please let me know why this is happening?
    Full Join Example:
    with XYZ as (
    select tp.field1 as APID1
    ,pay.field2 as APAMT1
    from Table1 tp join table2 pay on tp.id = pay.id
    where rownum < 10
    , XYZ2 as (
    select Nvl(pd.field1,0) as PID
    , pd.field2 as PAMT
    from Table1 tp join table3 pd on tp.id = pd.id
    where tp.field1 = -1
    select COALESCE(XYZ.APID1, xyz2.PID,0)as PNM
    , NVL(XYZ.APAMT1, 0) as XYZAMT
    , NVL(xyz2.PAMT, 0) as XYZ2AMT
    from XYZ full outer join XYZ2 on PID = APID1
    Note: the SQL in XYZ2 returns 0 rows.
    The error I get is :
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00904: "from$_subquery$_003"."QCSJ_C003008_12": invalid identifier
    Left Outer Join Example (This returns result):
    with XYZ as (
    select tp.field1 as APID1
    ,pay.field2 as APAMT1
    from Table1 tp join table2 pay on tp.id = pay.id
    where rownum < 10
    , XYZ2 as (
    select Nvl(pd.field1,0) as PID
    , pd.field2 as PAMT
    from Table1 tp join table3 pd on tp.id = pd.id
    where tp.field1 = -1
    select COALESCE(XYZ.APID1, xyz2.PID,0)as PNM
    , NVL(XYZ.APAMT1, 0) as XYZAMT
    , NVL(xyz2.PAMT, 0) as XYZ2AMT
    from XYZ left outer join XYZ2 on PID = APID1
    Note: the SQL in XYZ2 returns 0 rows.
    Thank you,

    Please refer to Doc ID: 311230.1 which has detailed information about these errors.

  • Need Help with ORA-00604 - ORA-01219

    Hey i'm having a hard to understand the error messages generated by our Oracle database server. i'm in charge of the development of a .NET apps with an Oracle DB underneath.
    i tried to change the parameter values ( the java pool and the shared pool) and when i tried to apply the change from Enterprise manager the shutdown process didn't complete, the parameters values are all gone and i'm trying to log on thru SQL* Plus i'm getting the following errors
    ORA-00604 error occured at recusive SQL Level 1
    ORA-01219 database not open: queries allowed on fixed tables/views only
    is there a way to recover or to reload the previous parameters values? . i really need some help on this
    thanks in advance

    Take a look in the alert log for the database to see why the database did not open. The alert log can be found in ORACLE_BASE/admin/<dbsid>/bdump/alert_<dbsid>.log .
    You can try to open the database with the following:
    set ORACLE_SID=<dbsid>
    sqlplus /nolog
    connect / as sysdba
    alter database open;
    It is possible that the above will not open the database if there is something preventing the opening of the database. That information can be found in the alert log mentioned above.

  • Client installation with Net Configuration-Assistant : ora-00604 / ora-0224

    Hi forum,
    I am trying to install a client on a remote computer with Net Configuration-Assistant. When testing connection as user system I always get oracle errors
    ora-00604 / ora-0224.
    When I try connection with sys the reaction is : should be done with sysdba or sysoper privilege.
    On command line level I can login with : sqlplus sys/...@srvtstora:1527/oeg
    where oeg is the ORACLE_SID in question and srvtstora is the PC on which the
    database resides.
    what can i do ?
    Kind regards
    Samplitude

    error ORA-00604: error occurred at recursive SQL level
    ORA-00224, 00000, "controlfile resize attempted with illegal record type (%s)"
    Is it what it shows?
    Then there are problems with the controlfile. Make sure you have a valid backup before proceeding any further.
    On the other hand, the error when connection with sys it's because you have to specify the SYSDBA/SYSOPER role at the connecting string ( sqlplus sys/SysPasswd as sysdba)

  • ORA-00604 ORA-00904 When query partitioned table with partitioned indexes

    Got ORA-00604 ORA-00904 When query partitioned table with partitioned indexes in the data warehouse environment.
    Query runs fine when query the partitioned table without partitioned indexes.
    Here is the query.
    SELECT al2.vdc_name, al7.model_series_name, COUNT (DISTINCT (al1.vin)),
    al27.accessory_code
    FROM vlc.veh_vdc_accessorization_fact al1,
    vlc.vdc_dim al2,
    vlc.model_attribute_dim al7,
    vlc.ppo_list_dim al18,
    vlc.ppo_list_indiv_type_dim al23,
    vlc.accy_type_dim al27
    WHERE ( al2.vdc_id = al1.vdc_location_id
    AND al7.model_attribute_id = al1.model_attribute_id
    AND al18.mydppolist_id = al1.ppo_list_id
    AND al23.mydppolist_id = al18.mydppolist_id
    AND al23.mydaccytyp_id = al27.mydaccytyp_id
    AND ( al7.model_series_name IN ('SCION TC', 'SCION XA', 'SCION XB')
    AND al2.vdc_name IN
    ('PORT OF BALTIMORE',
    'PORT OF JACKSONVILLE - LEXUS',
    'PORT OF LONG BEACH',
    'PORT OF NEWARK',
    'PORT OF PORTLAND'
    AND al27.accessory_code IN ('42', '43', '44', '45')
    GROUP BY al2.vdc_name, al7.model_series_name, al27.accessory_code

    I would recommend that you post this at the following OTN forum:
    Database - General
    General Database Discussions
    and perhaps at:
    Oracle Warehouse Builder
    Warehouse Builder
    The Oracle OLAP forum typically does not cover general data warehousing topics.

Maybe you are looking for

  • Regarding PM report?

    in PM is there any standard report  in which we can give input as purchase order number and it will show us the corresponding Service Order number thanks in advance

  • Page Setup - Hyperion Financial Reporting Studio

    Hi All, I have a balance sheet report which has Balance sheet items at the row level and the 3 Years * 4 Quarters at column level. I want to display this report in one page, where the whole page should occupy. But if Iam selecting both the check poin

  • Baffling Problem with Acrobat Javascript

    I'm hoping someone can help me. I've tried for hours and hours to find what the trouble is but just can't find a solution. The following code works, however, this is the baffling part. I need to edit / update the code but the problem occurs when I ma

  • My blackberry torch keeps rebooting and I can't update cos its current software version is up to date

    my phone keeps on rebooting,i have tried various ways to update it but the thing is dat its up to date so i cant install a previous version neither can i install d current version which is corrupt.pls help,dont know what to do again

  • Changing event dates of MOV files

    I've found it straightforward changing event dates (so the Event Library will sort chrono), simply by going to Finder and changing the yyyy-mm-dd format for DV files that may not have been captured correctly. However, when I do the same with MOV file