ORA-01427 work statspack

Hi, I am planning the work of statspack.snap using the spauto.sql and work always fails. I looked in the alert.log, and I found:

ORA-12012: error on auto work 4472
ORA-01427: einreihig subquery returns multiple rows
ORA-06512: at line 28

The statspack.snap works well when I run it manually and work works well when I try the dbms_job.run (jobid), the problem is that with the planned work.

I'm using Oracle 9.2.0.8.0 on SunOS.

Thank you.

PL see if the solution is MOS Doc 427789.1 (problem: scheduled task stops before completing ORA-1427) can help

HTH
Srini

Tags: Database

Similar Questions

  • Update query does not work (ora-01427)

    RDBMS 10 g 2

    Long story short, I created a column in a table in another table, that it has been moved is not really necessary that all other information is stored in other tables. With the original column has values that need to be copied to the new column before the old table is deleted.

    I use this update query:
    update bi_req bir
       set bir.job_name =
            (select distinct bij.job_name
               from bi_jobs bij,
                    bi_freq bif,
                    bi_apps bia,
                    bi_req  bir
              where bij.fk_bi_req_id = bir.pk_bi_req_id
                and bia.pk_bi_apps_id = bij.fk_bi_apps_id
                and bif.pk_bi_freq_id = bij.fk_bi_freq_id)
     where bir.job_name is null;
    If I run the select statement separately, I get the exact results that I need however, every time I run the whole statement, I get:
    Error: ORA-01427: single-row subquery returns more than one row

    The problem is that your subquery returns two or more names different jobs for a line of update.

    Which of these task names are you using? If it is not serious, then you can go with a like this aggregate query

    update bi_req bir
       set bir.job_name =
            (select max(bij.job_name) /* use just one job name */
               from bi_jobs bij,
                    bi_freq bif,
                    bi_apps bia
            where bij.fk_bi_req_id = bir.pk_bi_req_id
                and bia.pk_bi_apps_id = bij.fk_bi_apps_id
                and bif.pk_bi_freq_id = bij.fk_bi_freq_id)
     where bir.job_name is null;
    

    What I don't understand is why you need the bi_freq and bi_apps in the subquery. A simple query as follows: should not be enough?

    update bi_req bir
       set bir.job_name =
            (select max(bij.job_name) /* use just one job name */
               from bi_jobs bij
            where bij.fk_bi_req_id = bir.pk_bi_req_id)
     where bir.job_name is null;
    

    Published by: W. Sven on September 4, 2009 14:06

  • ORA-01427 during the attempt to INSERT SQL job

    Hello

    I have non-logiques problem.

    I use Oracle 10 g.
    I have a query that contains some subqueries, this is pretty normal query as similar milion:

    SELECT a.field1,
    (SELECT b.field2 FROM tab2 b WHERE b.key = a.key) Field2
    OF tab1 a

    Query works fine, amount of the returns expected Recordset, but while I'm saving it somehow it returns me an error:
    ORA - 01427:single - line subquery returns multiple rows

    It would be normal that I have by running a SELECT statement. But SOME major work - error occurs when I try to save the results somehow - INSERT, CREATE TABLE AS or save it to file.

    Help, please.
    Thank you.

    nodeX wrote:

    Query works fine, amount of the returns expected Recordset, but while I'm saving it somehow it returns me an error:
    ORA - 01427:single - line subquery returns multiple rows

    No it's not. Most likely you use SQL * Developer, Toad, SQL * Navigator or another GUI tool that retrieves the screen by screen lines. So when you run this select your tool retrieves and displays just the first screen and it happens so that for the first lines of the scalar subquery in your select screen returns just one line. However, when you issue INSERT SELECT all lines are read, and at least one of them, results in a scalar subquery returns more than one line. Do a complete test of your question, SELECT, SELECT your tool try and extract all lines (in most of the tools it's > button) or post your query in SQL * more. In all cases:

    SELECT a.field1,
    (SELECT b.field2 FROM tab2 b WHERE b.key = a.key) field2
    FROM tab1 a
    

    means the key of the column in the table tab2 is logically unique for any value of tab1.key.

    SY.

  • Error ORA-01427 of IOM

    Gurus,


    Today, I got this error in my UAT IOM 9.1.0.2 server. Can someone help me on this, please?

    ERROR, June 25, 2011 07:25:40, [XELLERATE. SERVER], class/method: tcObjectItemInfo/checkPasswordPolicy some problems: {1}

    com.thortech.xl.orb.dataaccess.tcDataAccessException

    at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException (unknown Source)

    at com.thortech.xl.dataaccess.tcDataBase.createException (unknown Source)

    at com.thortech.xl.dataaccess.tcDataBase.readPartialPreparedStatement (unknown Source)

    at com.thortech.xl.dataaccess.tcDataBase.readPreparedStatement (unknown Source)

    at com.thortech.xl.dataobj.PreparedStatementUtil.execute (unknown Source)

    at com.thortech.xl.dataobj.tcObjectItemInfo.checkPasswordPolicy (unknown Source)

    at com.thortech.xl.dataobj.tcObjectItemInfo.eventPreInsert (unknown Source)

    at com.thortech.xl.dataobj.tcDataObj.insert (unknown Source)

    at com.thortech.xl.dataobj.tcDataObj.save (unknown Source)

    at com.thortech.xl.dataobj.tcTableDataObj.save (unknown Source)

    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addObjectFormChildData (unknown Source)

    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addObjectFormChildData (unknown Source)

    at com.thortech.xl.ejb.beans.tcFormInstanceOperationsSession.addObjectFormChildData (unknown Source)

    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl.addObjectFormChildData(tcFormInstanceOperations_2j82mm_EOImpl.java:1728)

    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl_WLSkel.invoke (unknown Source)

    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)

    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)

    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)

    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl_1030_WLStub.addObjectFormChildData (unknown Source)

    at Thor.API.Operations.tcFormInstanceOperationsClient.addObjectFormChildData (unknown Source)

    at sun.reflect.GeneratedMethodAccessor997.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    to Thor.API.Base.SecurityInvocationHandler$ 1.run (unknown Source)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs (unknown Source)

    at weblogic.security.Security.runAs(Security.java:41)

    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs (unknown Source)

    at Thor.API.Base.SecurityInvocationHandler.invoke (unknown Source)

    to $Proxy65.addObjectFormChildData (Unknown Source)

    at com.bitur.service.RequestDataService.processObjectForms(RequestDataService.java:3082)

    at com.bitur.service.RequestDataService.genReqKeySumitNow(RequestDataService.java:2909)

    at com.bitur.struts2.requestVerification.RequestVerificationAction.submitNow(RequestVerificationAction.java:1232)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452)

    at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:291)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254)

    at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)

    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)

    at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)

    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)

    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)

    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:142)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:166)

    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:190)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.bitur.struts2.security.AuthenticationInterceptor.intercept(AuthenticationInterceptor.java:171)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)

    at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:485)

    at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)

    at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3496)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs (unknown Source)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Caused by [nested Exception]:

    java.sql.SQLException: ORA-01427: einreihig subquery returns multiple rows



    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.executeForRows(T4CPreparedStatement.java:947)

    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:891)

    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 weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:128)

    at com.thortech.xl.dataaccess.tcDataBase.readPartialPreparedStatement (unknown Source)

    at com.thortech.xl.dataaccess.tcDataBase.readPreparedStatement (unknown Source)

    at com.thortech.xl.dataobj.PreparedStatementUtil.execute (unknown Source)

    at com.thortech.xl.dataobj.tcObjectItemInfo.checkPasswordPolicy (unknown Source)

    at com.thortech.xl.dataobj.tcObjectItemInfo.eventPreInsert (unknown Source)

    at com.thortech.xl.dataobj.tcDataObj.insert (unknown Source)

    at com.thortech.xl.dataobj.tcDataObj.save (unknown Source)

    at com.thortech.xl.dataobj.tcTableDataObj.save (unknown Source)

    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addObjectFormChildData (unknown Source)

    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addObjectFormChildData (unknown Source)

    at com.thortech.xl.ejb.beans.tcFormInstanceOperationsSession.addObjectFormChildData (unknown Source)

    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl.addObjectFormChildData(tcFormInstanceOperations_2j82mm_EOImpl.java:1728)

    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl_WLSkel.invoke (unknown Source)

    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)

    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)

    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)

    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl_1030_WLStub.addObjectFormChildData (unknown Source)

    at Thor.API.Operations.tcFormInstanceOperationsClient.addObjectFormChildData (unknown Source)

    at sun.reflect.GeneratedMethodAccessor997.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    to Thor.API.Base.SecurityInvocationHandler$ 1.run (unknown Source)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs (unknown Source)

    at weblogic.security.Security.runAs(Security.java:41)

    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs (unknown Source)

    at Thor.API.Base.SecurityInvocationHandler.invoke (unknown Source)

    to $Proxy65.addObjectFormChildData (Unknown Source)

    at com.bitur.service.RequestDataService.processObjectForms(RequestDataService.java:3082)

    at com.bitur.service.RequestDataService.genReqKeySumitNow(RequestDataService.java:2909)

    at com.bitur.struts2.requestVerification.RequestVerificationAction.submitNow(RequestVerificationAction.java:1232)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452)

    at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:291)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254)

    at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)

    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)

    at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)

    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)

    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)

    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:142)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:166)

    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:190)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at com.bitur.struts2.security.AuthenticationInterceptor.intercept(AuthenticationInterceptor.java:171)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)

    at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)

    at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:485)

    at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)

    at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3496)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs (unknown Source)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    ERROR, June 25, 2011 07:25:40, [XELLERATE. SERVER], class/method: tcTableDataObj/getString some problems: column 'UD_DELOY_OC_PASSWORD' not found

    com.thortech.xl.dataaccess.tcDataSetException: column 'UD_DELOY_OC_PASSWORD' not found

    at com.thortech.xl.dataaccess.tcDataSet.getColumnIndex (unknown Source)

    at com.thortech.xl.dataaccess.tcDataSet.getString (unknown Source)

    Thank you

    Hey,.

    There is a bug related to this error above.
    "java.sql.SQLException: ORA-01427: einreihig subquery returns more than one line.
    I had the same last year.

    Thiago Guimarães L

  • "ORA-01427: einreihig subquery returns more than one line.

    Hi all
    I have a SQL query where I need a subquery for certain fields (like fields are optional), and the thing is some of the subqueries are works well, but when I use some, it gives me an error * "ORA-01427: einreihig subquery returns more rows" *, so I looked to the top of the internet and found if I give *' and rownum = 1' * in the subquery ". It eliminates the error and there certainly, but the thing is I have test the XML data. I have two addresses that should appear on the report and both follow the same path, but one is required optional and another so I put the option in the subquery, but in the XML data, I see that both addresses are the same, but they need to be different, because the status of the relationship with that I question is different. I ALSO POST MY SQL so that if anyone of you has an idea can help out me. Once more, the sql, I put here has the SQL subqueries with ' and rownum = 1', which gives me bad output

    Select S_FN_INCEXP_CON. RELATION_TYPE_CD as RELATION_TYPE_CD,
    S_ORDER. ORDER_NUM as ORDER_NUM,
    S_ORDER. FRGHT_AMT as FRGHT_AMT,
    S_ORDER. ORDER_DT as ORDER_DT,
    S_ORDER. CARRIER_CD as CARRIER_CD,
    S_ORDER. CARRIER_PRIO_CD as CARRIER_PRIO_CD,
    S_ORDER. ACCNT_ORDER_NUM as ACCNT_ORDER_NUM,
    S_CONTACT. FST_NAME as FST_NAME,
    S_CONTACT. Last_name like LAST_NAME,
    S_ADDR_PER. ADDR_NAME as ADDR_NAME-> it's the address required
    S_ADDR_PER. POSTAL CODE such as POSTAL code,
    S_CON_ADDR. ADDR_MAIL_CD as ADDR_MAIL_CD,
    S_ADDR_PER. EMAIL_ADDR as EMAIL_ADDR,
    S_ADDR_PER. PH_NUM as PH_NUM,
    S_SRC_PAYMENT. PAYMENT_NUM as PAYMENT_NUM,
    S_ORDER. STATUS_CD as STATUS_CD,
    (select S_FN_INCEXP_CON_1.RELATION_TYPE_CD
    of SIEBEL. S_CONTACT S_CONTACT_1,
    SIEBEL. S_FN_INCEXP_CON S_FN_INCEXP_CON_1
    where S_ORDER. ROW_ID = S_FN_INCEXP_CON_1.FN_INCM_EXP_ID
    and S_FN_INCEXP_CON_1.CONTACT_ID = S_CONTACT_1.ROW_ID
    and S_FN_INCEXP_CON_1.RELATION_TYPE_CD! = ALL ('Donor', 'Notified Party', ' in memory of ', ' in honor of ')) RELATION_TYPE_CD_1

    , (select S_CONTACT_1.FST_NAME |') '|| S_CONTACT_1.LAST_NAME
    of SIEBEL. S_CONTACT S_CONTACT_1,
    SIEBEL. S_FN_INCEXP_CON S_FN_INCEXP_CON_1
    where S_ORDER. ROW_ID = S_FN_INCEXP_CON_1.FN_INCM_EXP_ID
    and S_FN_INCEXP_CON_1.CONTACT_ID = S_CONTACT_1.ROW_ID
    and S_FN_INCEXP_CON_1.RELATION_TYPE_CD! = ALL ('Donor', 'Notified Party', ' in memory of ', ' in honor of ')) NAME.

    (select S_ORDER_TYPE.NAME
    of SIEBEL. S_ORDER_TYPE S_ORDER_TYPE
    where S_ORDER. ORDER_TYPE_ID = S_ORDER_TYPE. ROW_ID
    and S_ORDER_TYPE.NAME = 'Général'), GENERAL

    (select S_ORDER_TYPE.NAME
    of SIEBEL. S_ORDER_TYPE S_ORDER_TYPE
    where S_ORDER. ORDER_TYPE_ID = S_ORDER_TYPE. ROW_ID
    and S_ORDER_TYPE.NAME = 'Memory') MEMORY,

    (select S_ORDER_TYPE.NAME
    of SIEBEL. S_ORDER_TYPE S_ORDER_TYPE
    where S_ORDER. ORDER_TYPE_ID = S_ORDER_TYPE. ROW_ID
    and S_ORDER_TYPE.NAME = 'Honour') HONOR,.

    (select S_FN_INCEXP_CON_1.RELATION_TYPE_CD
    of SIEBEL. S_CONTACT S_CONTACT_1,
    SIEBEL. S_FN_INCEXP_CON S_FN_INCEXP_CON_1
    where S_ORDER. ROW_ID = S_FN_INCEXP_CON_1.FN_INCM_EXP_ID
    and S_FN_INCEXP_CON_1.CONTACT_ID = S_CONTACT_1.ROW_ID
    and S_FN_INCEXP_CON_1.RELATION_TYPE_CD = ' in memory of ') R1,.

    (select S_FN_INCEXP_CON_1.RELATION_TYPE_CD
    of SIEBEL. S_CONTACT S_CONTACT_1,
    SIEBEL. S_FN_INCEXP_CON S_FN_INCEXP_CON_1
    where S_ORDER. ROW_ID = S_FN_INCEXP_CON_1.FN_INCM_EXP_ID
    and S_FN_INCEXP_CON_1.CONTACT_ID = S_CONTACT_1.ROW_ID
    and S_FN_INCEXP_CON_1.RELATION_TYPE_CD = ' in honor of ") R2,.


    (select S_FN_INCEXP_CON_1.RELATION_TYPE_CD
    of SIEBEL. S_CONTACT S_CONTACT_1,
    SIEBEL. S_FN_INCEXP_CON S_FN_INCEXP_CON_1
    where S_ORDER. ROW_ID = S_FN_INCEXP_CON_1.FN_INCM_EXP_ID
    and S_FN_INCEXP_CON_1.CONTACT_ID = S_CONTACT_1.ROW_ID
    and S_FN_INCEXP_CON_1.RELATION_TYPE_CD = 'notified Party') R3.

    (select S_ADDR_PER. ADDR_NAME | ',' | S_ADDR_PER. Zip code
    of SIEBEL. S_ADDR_PER S_ADDR_PER,
    SIEBEL. S_CON_ADDR S_CON_ADDR,
    SIEBEL. S_CONTACT S_CONTACT_1,
    SIEBEL. S_FN_INCEXP_CON S_FN_INCEXP_CON_1
    where S_ORDER. ROW_ID = S_FN_INCEXP_CON_1.FN_INCM_EXP_ID
    and S_FN_INCEXP_CON_1.CONTACT_ID = S_CONTACT_1.ROW_ID
    and S_CONTACT. ROW_ID = S_CON_ADDR. CONTACT_ID
    and S_CON_ADDR. ADDR_PER_ID = S_ADDR_PER. ROW_ID
    and rownum = 1
    and S_FN_INCEXP_CON_1.RELATION_TYPE_CD IN 'Notified Party') NP_ADDR-> it's the optional address


    (select S_PARTY_REL. REL_TYPE_CD
    of SIEBEL. S_PARTY_REL S_PARTY_REL,
    SIEBEL. S_CONTACT S_CONTACT_1,
    SIEBEL. S_FN_INCEXP_CON S_FN_INCEXP_CON_1
    where S_ORDER. ROW_ID = S_FN_INCEXP_CON_1.FN_INCM_EXP_ID
    and S_FN_INCEXP_CON_1.CONTACT_ID = S_CONTACT_1.ROW_ID
    and S_PARTY_REL. REL_PARTY_ID = S_CONTACT_1.ROW_ID
    and S_FN_INCEXP_CON_1.RELATION_TYPE_CD = ' in memory of ') RLNSHIP


    of SIEBEL. S_CONTACT S_CONTACT,
    SIEBEL. S_FN_INCEXP_CON S_FN_INCEXP_CON,
    SIEBEL. S_ORDER S_ORDER,
    SIEBEL. S_ADDR_PER S_ADDR_PER,
    SIEBEL. S_CON_ADDR S_CON_ADDR,
    SIEBEL. S_SRC_PAYMENT S_SRC_PAYMENT
    where S_ORDER. ROW_ID = S_FN_INCEXP_CON. FN_INCM_EXP_ID
    and S_FN_INCEXP_CON. CONTACT_ID = S_CONTACT. ROW_ID
    and S_CONTACT. ROW_ID = S_CON_ADDR. CONTACT_ID
    and S_CON_ADDR. ADDR_PER_ID = S_ADDR_PER. ROW_ID
    and S_FN_INCEXP_CON. RELATION_TYPE_CD = 'donor '.
    and S_SRC_PAYMENT. ORDER_ID = S_ORDER. ROW_ID

    Use
    ' and S_CONTACT_1.ROW_ID = S_CON_ADDR. CONTACT_ID'
    your 3rd condition in where clause.

    So it would be to get the address of the 'notified part' information instead of the donor

  • First 4.0.0.12.84 (ORA-01427 einreihig subquery returns more than one line)

    Hi Jeff,

    I use the ai2 since September 13 and I got this error when I run several reports from the RAC (2 knots) databases.

    For ex.    in the DBA Panel, according to the Performance option, when I try to launch ASHES for las 5 minutes, the ORA-01427 out immediately.

    I want just to be sure you're already aware of this problem and taken into account for the next version.

    Thanks in advance,

    Andraly Ng

    EA3 just came out a few hours ago - have a go at it and let us know what you think!

  • ORA-01427 with WHERE clause and CASE statement

    Hi guys,.
    I get the error ORA-01427 when you try to select * from my dimension table
    When the parameter: P_HZA is 4. I used the keyword IN but the error still appears.
    no idea why?

    Select * from testtab
    where mycar = 4
    and "coretable". "" HZA ' IN
    CASE
    When: P_HZA = "4" then (button SELECTION OF DIM_HZA)
    other: P_HZA
    END

    Thank you

    you missed table_name and also this can cause several error so lines (ORA-01427: einreihig subquery returns more than one line)

    SELECT *
      FROM tableA
     WHERE mycar = 4
           AND "coretable"."HZA" IN
                  CASE
                     WHEN :P_HZA = '4' THEN (SELECT key FROM DIM_HZA)   ---- may be you need to have max  to get only one value
                     ELSE :P_HZA
                  END
    

    See you soon,.
    Manik.

  • INSERT - ORA-01427

    Hi all,


    I want to insert data in TABLE1. Col2 from TABLE1 should have the same data, example 12.12.2012.

    CREATE TABLE TABLE1
    (
    ACTIVATE THE 'COL1' VARCHAR2 (30 BYTE) NOT NULL,
    "COL2" DAY
    )

    INSERT INTO TABLE1
    (COL1, COL2)
    VALUES)
    (SELECT DISTINCT COL3 FROM TABLE2),
    (SELECT TO_DATE ('12.12.2012 ',' JJ.)) MM YYYY') FROM DUAL)
    )

    But I got this error:
    SQL error: ORA-01427: einreihig subquery returns multiple rows

    Help, please.
    Thank you.

    You cannot mix an INSERT...... With VALUES and INSERT... SELECT...

    INSERT INTO TABLE1 (COL1, COL2)
    SELECT DISTINCT COL3,  TO_DATE('12.12.2012', 'DD.MM.YYYY') FROM TABLE2
    

    Published by: BluShadow on January 10, 2013 11:12

  • EXPDP fails with ORA-39125: worker unexpected fatal error in MAIN $

    Hi friends,

    Oracle 10.2.0.4.0 on Sun OS

    Im trying to metadata_only using EXPDP export

    Faced with the below error

    ORA-39125: worker unexpected fatal worker error of $ MAIN. UNLOAD_METADATA when calling DBMS_METADATA. [FETCH_XML_CLOB]

    ORA-31642: failure of the following SQL statement:

    BEGIN "SYS." "DBMS_RULE_EXP_RULES." SCHEMA_CALLOUT (1,1,1, 10.02.00.04.00 "") END;

    ORA-06512: at "SYS." DBMS_SYS_ERROR', line 86

    ORA-06512: at "SYS." Dbms_metadata", line 907

    ORA-00942: table or view does not exist

    ORA-06512: at "SYS." DBMS_SYS_ERROR', line 95

    ORA-06512: at "SYS." "MAIN $ WORKER", line 6307




    --------------------------------------------------------------------------------
    PL / SQL Call Stack
    --------------------------------------------------------------------------------

    the line object

    serial number of handle

    51bf5dc20 15032 SYS package body. MAIN $ WORKER

    51bf5dc20 6372 SYS package body. MAIN $ WORKER

    51bf5dc20 2396 SYS package body. MAIN $ WORKER

    package body SYS 6944 51bf5dc20. MAIN $ WORKER

    51bf5dc20 1314 SYS package body. MAIN $ WORKER

    51c7e8650 anonymous block 2

    ====================================

    Results:

    I check the status of DBMS_RULE_EXP_RULES

    STATUS OF OWNER OBJECT_TYPE OBJECT_NAME

    --------------------------------------------------------------------------------
    --------------------------------------------------------
    --------------------------------------------------------------------------------

    --------------------------------------------------------------------------------
    DBMS_RULE_EXP_RULES VALID PACKAGE BODY SYS
    SYS DBMS_RULE_EXP_RULES PACKAGE AVAILABLE
    DBMS_RULE_EXP_RULES PUBLIC SYNONYM VALID

    Dbms_metadata & DBMS_SYS_ERROR packages are valid.

    ======================================================

    Error in the alert:

    The value of MAXTRANS parameter ignored (30).
    kupprdp: master the DM00 process started with pid = 25, OS id = 6506
    to run - SYS. KUPM$ MCP. HAND ('SYS_EXPORT_SCHEMA_01', 'SYS', ' KUPC$ C_1_20120908075037', ' KUPC$ S_1_20120908075037', 0);
    kupprdp: work DW01 process began with worker id = 1, pid = 26, OS id = 6633
    to run - SYS. WORKER OF $ MAIN. HAND ('SYS_EXPORT_SCHEMA_01', 'SYS');

    When I check the trace file, find the error below

    ORA-04063: package Ann body. "" COLLECTION "features the errors

    But when I check the condition of the packaging, it is valid.

    Thanks for your help
    KSG

    Salvation;

    ORA-04063: package Ann body. "" COLLECTION "features the errors

    You can try to compile this object? If it gives the error which is error message?

    Respect of
    HELIOS

  • ORA-01427 during casting of nested table table column

    Hello

    Now select all the elements in a nested table column, on several lines. The following query gives me an ora-01427 einreihig subquery returns more than one line.

    SELECT * FROM TABLE (SELECT nt_col FROM tab);

    Is it possible to achieve this easily?

    Best regards, Jan

    Jan Leers wrote:
    Hello

    Now select all the elements in a nested table column, on several lines. The following query gives me an ora-01427 einreihig subquery returns more than one line.

    SELECT * FROM TABLE (SELECT nt_col FROM tab);

    Is the name of the column in the nested table nt_col in the table tab? If so, all you need is:

    SELECT column_value FROM tab,TABLE(nt_col)
    /
    
    SQL> desc ref_tbl
     Name                                                                     Null?    Type
     ------------------------------------------------------------------------ -------- ------------------------------
     I                                                                                 NUMBER
     R                                                                                 OBJ_REF_TBL_TYPE
    
    SQL> select * from ref_tbl
      2  /
    
             I
    ----------
    R
    -----------------------------------------------------------------------------------------------------------------
             1
    OBJ_REF_TBL_TYPE(0000220208A51D704FB8804FFCA39802FC5148A4FDB7ED17723522492CB81A875DB4E4B1C6)
    
             2
    OBJ_REF_TBL_TYPE(0000220208A51D704FB8804FFCA39802FC5148A4FDB7ED17723522492CB81A875DB4E4B1C6)
    
    SQL> select column_value from ref_tbl,table(r)
      2  /
    
    COLUMN_VALUE
    -----------------------------------------------------------------------------------------------------------------
    0000220208A51D704FB8804FFCA39802FC5148A4FDB7ED17723522492CB81A875DB4E4B1C6
    0000220208A51D704FB8804FFCA39802FC5148A4FDB7ED17723522492CB81A875DB4E4B1C6
    
    SQL> 
    

    SY.

  • Update TBL to TBL (ORA-01427 ' row subquery returned more line ")

    Hello...

    I'm new in this stuff and need a little help... Thank you very much for your answers!

    I have the error ORA-01427 when run this script:

    Update tblproduct
    the value (instock) = (select b2.instock - tblproduct b2, b1, b3 tblorder tblitem b1.quantity
    where b1.productid = b2.productid and b1.orderid = b3.orderid and b3.orderid to 3025)

    The main purpose of the script is the actualization of the butts of the inventory when the order is completed.

    The TBLITEM primary key (ORDERID and PRODUCTID). This prevents repeat the question on the agenda.


    The structure of tables are:

    1. (TBLITEM)

    Name Null? Type
    ---------------------------------- -------------- ---------------

    PRODUCTID NOT NULL NUMBER (10)
    ORDERID NOT NULL NUMBER (10)
    QUANTITY NOT NULL NUMBER (10)
    PRICE FLOAT (126)
    ITEMID NUMBER (5)



    2. (TBLPRODUCT)

    Name Null? Type
    ----------------------------------------- --------------- --------------------

    PRODUCTID NOT NULL NUMBER (10)
    PRODNAME NOT NULL VARCHAR2 (25)
    DESCRIPTION VARCHAR2 (255)
    PRICE NOT NULL NUMBER (7.2)
    NUMBER (7.2) TAX
    STATUS NOT NULL VARCHAR2 (25)
    NUMBER (10) NOT NULL INSTOCK
    REORDERPOINT NOT NULL NUMBER (10)
    DATE OF RESTOCKDATE
    CATEGORYID NOT NULL NUMBER (10)
    VENDOR NUMBER NO. (10)


    2. (TBLORDER)

    Name Null? Type
    ----------------------------------------- ------------ ----------------

    ORDERID NOT NULL NUMBER (10)
    NOT NULL ORDERDATE DATE
    DATE OF ORDERCOMPT
    USERID NOT NULL NUMBER (10)
    ACCOUNTID NOT NULL NUMBER (10)
    STATUS NOT NULL VARCHAR2 (25)
    NUMBER (2) CANCELLED


    THANKS FOR YOUR HELP ONCE AGAIN!

    Published by: user10084733 on April 20, 2009 12:25

    It is the right way to update your table.

    update tblproduct b2
    set (instock) = (select b2.instock - b1.quantity
                     from tblitem b1, tblorder b3
                     where b1.productid = b2.productid
                     and b1.orderid = b3.orderid
                     and b3.orderid in 3025)
    where exists ( select 1
                   from tblitem b1, tblorder b3
                   where b1.productid = b2.productid
                   and b1.orderid = b3.orderid
                   and b3.orderid in 3025)
    ;
    
    Without the where condition you are updating the full table.
    
  • ORA-39126: worker unexpected fatal error

    Hello
    When an export file is imported full by following the command line:

    Impdp system/***@orcl DUMPFILE is EXP_FUL_H9DEV. LOGFILE = MYLOG.log DMP

    I received:

    ORA-39126: worker unexpected fatal worker error of $ MAIN. PUT_DDL [VIEW: "H9DEV".] ["" PS_AEAPPL_VW "]
    ORA-44001: invalid schema

    ORA-06512: at "SYS." DBMS_SYS_ERROR', line 95
    ORA-06512: at "SYS." "MAIN$ WORKER", line 6273

    Any idea?

    Thanks for help.

    [SEE: "H9DEV".] ["" PS_AEAPPL_VW "]

    A guess: this view query objects of other schemes, which do not exist in the new database or on what H9DEV does not have appropriate privileges?

    If not, is there more information in the newspaper?

    Cheers, APC

    blog: http://radiofreetooting.blogspot.com

  • Error ORA-01427

    Hi Please someone help me...
    TRUNCATE TABLE dmfg.STXN_INVOICE_T ;
    COMMIT;
    DROP TABLE dmfg.STXN_INVOICE_T ;
    CREATE  TABLE
     dmfg.STXN_INVOICE_T
     storage (initial 1024k next 1024k)
     nologging
     AS SELECT * FROM dmfg.STXN_Invoice_V;
    COMMIT;
    dmfg. STXN_INVOICE_T-> Table
    dmfg. STXN_INVOICE_V-> opinion

    My point is the underlying base of the view table fell and the base table has recreated his view... does this work?

    Didn't want to do a quick test?

    SQL> create table STXN_INVOICE_T (n number);
    
    Table created.
    
    SQL> create view STXN_Invoice_V as select * from STXN_INVOICE_T;
    
    View created.
    
    SQL> TRUNCATE TABLE STXN_INVOICE_T ;
    
    Table truncated.
    
    SQL> COMMIT;
    
    Commit complete.
    
    SQL> DROP TABLE STXN_INVOICE_T ;
    
    Table dropped.
    
    SQL> CREATE  TABLE
      2   STXN_INVOICE_T
      3   storage (initial 1024k next 1024k)
      4   nologging
      5   AS SELECT * FROM STXN_Invoice_V;
     AS SELECT * FROM STXN_Invoice_V
                      *
    ERROR at line 5:
    ORA-04063: view "SCOTT.STXN_INVOICE_V" has errors
    
    SQL> COMMIT;
    
    Commit complete.
    

    Moreover, you don't need to commit after truncate or any ddl.

  • Why this sql returns ORA-01427: einreihig subquery returns multiple rows.

    Select

    case when 'Y'=(select  emp_sw

    of the customer

    where cust_co_num =   :custconum   )

    then ( Select cust_id from )

    client where

    cust_co_num = :custconum 

    )

    on the other

    (select...)

    end while pays_id

    of the double

    or any other solution for this?

    Thank you!!

    Maybe

    with

    data in the form of

    (select cust_id 100, 'Y' emp_sw, 1 cust_co_num of all the double union)

    Select 200, "n", 1 Union double all the

    Select 300, 'Y', 3 double Union all

    Select 400, ', 2 double

    )

    Select cust_id, emp_sw, cust_co_num

    data d

    where cust_id = case when exists (select null

    from the data

    where cust_co_num =: custconum

    and emp_sw = 'Y '.

    )

    then cust_id

    end

    or cust_id in (select cust_id

    from the data

    where cust_co_num =: custconum

    and emp_sw = n

    )

    Concerning

    Etbin

  • ORA-01427: einreihig subquery returns multiple rows

    I've been off queries running for awhile, and this error is making me take what I left little hair.   I searched and found a lot of topics about this, but it does not appear to meet this request.  Rather than continue blabbering...


    SELECT THE DME. ITEM_Description, IMPC. ITEM_NUM

    Y2006 as Sum2006, Y2007 as Sum2007, Y2008 as Sum2008, as Sum2009, as Sum2010 Y2010 Y2009

    ,(Select Y2011)

    of TestDB.Book_Sect02_ImpleCosts, TestDB.Book_Sect02_ImpleDesc

    where recommended = 'PM' and BUDGETTYPE = 'MDY' and BUDGETFY = 2016

    and shareby = 'ME' and recommended in (select TestDB.Book_Recommendations recommended)

    and Book_Sect02_ImpleCosts.ITEM_NUM = Book_Sect02_ImpleDesc.ITEM_NUM

    and Book_Sect02_ImpleDesc.Item_Description = DME. Item_Description) as Sum2011

    OF IMPC, TestDB.Book_Sect02_ImpleDesc DME TestDB.Book_Sect02_ImpleCosts

    WHERE the recom = 'PM' and BUDGETTYPE = 'DMY' and BUDGETFY = 2016

    and shareby = 'ME' and recommended in (select TestDB.Book_Recommendations recommended)

    and IMPC. ITEM_NUM = DME. ITEM_NUM

    ORDER OF IMPC. ITEM_NUM;

    Basically, I want to find and eliminate the duplicate line, but I'm not.  The other problem is, I have no direct access to the database.  I am a contractor and must be based on e-mailing a DBA Government to execute the query for me.  Thank you in advance.


    Considering the hoops I need to jump through to solve this problem, it is clear to me... the error does not occur, with the same query on my Production System and it does on my Test System.  I have requested that data be deleted at the Test and updated with Production data.  I hope that this will solve the problem.   I need to keep the data, because it's test, so hopefully this will allow me to move forward.   Thank you all for your help.

Maybe you are looking for

  • There is no selection of bookmark organize my bookmarks menu. Help

    There is no selection ", organize bookmarks' in my menu"bookmarks ". Help. Thank you.Freeden

  • Tuner FM on Qosmio F20-136 Radio

    Is it possible to get local FM Radio stations on my Qosmio F20-136. It has a digital TV tuner built in, can I somehow configure it or use a 3rd party software to get my local station is a card PCMCIA FM my only option?

  • Use of storage of mystery on iPhone?

    Hello When you perform a restore on my iPhone 6, after the backup has been restored I stayed still a significant amount of memory being occupied on the iPhone. ITunes says it's "The Documents and data" or something like that. It is NOT Apps, Audio or

  • Satellite 2435 powers off the power when you try to install the recovery CD of OS

    Happy new year Satellite 2435 powers off accidentally when trying to install the operating system from disk with Windows XP Pro startup disk or recovery. When starting and working with Winternals AdminPak 5.0, Portable Edition Windows or Dos 6.22 it

  • earpods do not work

    All of a sudden my earpods no longer works on my macbook pro when I plugged. I'll try to put it in short and simple as possible. Earpods > iPhone 6: work Anything > iPhone 6: Audio works Earpods > Macbook pro: does not work (although works the microp