Unique column index index composite vs

Hello

I have a table with a, b, c, d, e, f, g, h, i, j, k columns and I have an index on columns a, b!

There is a sql statement now with where a =?  and one wonders if it could also be good to add a unique index on just 'a' column!

does not AT ALL help? It does not help in SOME CASES? or?

What do you think??

Thank you!

/ Hesi

HeSi9466 wrote:

I think, in general when you have a composite index as (a, b) and you have a query as where a =? Then, this composite index is sufficient and you don't need to also add a unique index.

But... I think that this response CANNOT be a final answer for all possible combinations of data.

For example, if the leader index column (a) has a low number of distinct values and the second column (b) index has a large number of different values then a query that seeks where a =? could be better with a single (one) index a column.

My point is, it must be tested and could not say NO, UNIQUE INDEX number IS NECESSARY at all.

The basic answer is that you need NOT the index of single column if you have the index on two columns.

The answer is complex, is that you may need to spend some time and effort to ensure that the index of the two columns is used in all cases where it would have been appropriate to use single-column index. This can average simply ensuring that the clustering_factor in the index is adjusted properly so that the optimizer 'love' the index enough and/or you need to change code to use the cluster_by_rowid indicator (when you are 12 c) so that you do not suffer a running performance impact.

Key factors: the index of the two columns will be physically larger than the single column index - this will increase the (optimizer estimated) operating costs; the index of two_column clustering_factor will almost certainly larger than the single column index clustering_factor - this will also increase the (optimizer estimated) cost of its use. Both of these echo run time: two column index will be bigger, then you will have to do more work to read the relevant ROWID, and if you walk two-column index in order for a given value of the first column, you will visit the blocks to the table in a different order from the order of the visits of the unique column index - this can lead to the application doing more work running.

The variation in counts of leaf_block index is often negligible (especially if, as per your example, the number of lines - blocks so in the table - is large); the impact of the clustering_factor can make a huge difference for the calculation of costs; but you can often work around this problem. In 11.2.0.4, in particular, you can use the dbms_stats.set_table_prefs () call to set the parameter "table_cached_blocks" a table for all of its indexes seem more desirable to the optimizer.

Bottom line - you have not the single column index, but if you have it and want to break down human effort needed to do so that it can be placed without side effects can make you decide to keep in any case, especially if it seems not be the cause of any competition or other overhead of performance.  If you haven't yet, then you should not need to create.

Concerning

Jonathan Lewis

Tags: Database

Similar Questions

  • Why the feature multiple column indexes using index skip scan?

    Hi all

    I have just been hired by a new company and I explored its database infrastructure. Interestingly, I see several function based indexed column used for all the tables. I found it strange, but they said ' we use Axapta to connect Axapta with Oracle, function index according to should be used to improve performance. Therefore, our DBAs create several indexes of feature based for each table in the database. "Unfortunately, I can not judge their business logic.

    My question is, I just created similar to my local database tables in order to understand the behavior of the function index according to several columns. In order to create indexes of based function (substr and nls_lower), I have to declare the columns as varchars2. Because in my business our DBAs had created a number of columns as a varchar2 data type. I created two excatly same table for my experience. I create miltiple function according to index on the my_first table, and then I create several normal index on the my_sec table. The interesting thing is, index skip scan cannot be performed on more than one basic function index (table my_first). However, it can be performed to normal several index on my_sec table. I hope that I have to express myself clearly.

    Note: I also ask the logic of the rule function based index, they said when they index a column they don't ((column length) * 2 + 1) formula. For example, I want to create indexes on the zip code column, column data type VARCHAR2 (3), so I have to use 3 * 2 + 1 = 7, (substr (nls_lower (areacode), 1, 7). substr (nls_lower ()) notation is used nested for any function function index. I know that these things are very illogical, but they told me, they use this type of implementation for Axapta.

    Anyway, in this thread, my question is reletad to function function with index index skip scan, not logical bussiness, because I can not change the business logic.

    Also, can you please give hints or clues for multiple function based indexes?

    Thanks for your help.


    SQL > create table my_first as select '201' codeZone, to_char (100 + rownum) account_num, dbms_random.st
    Ring name ('A', 10) from dual connect by level < = 5000;

    Table created.

    SQL > create table my_sec as select '201' codeZone, to_char (100 + rownum) account_num, dbms_random.st

    Ring name ('A', 10) from dual connect by level < = 5000;

    Table created.

    SQL > alter table my_first change account_num varchar2 (12);

    Modified table.


    SQL > alter table my_sec change account_num varchar2 (12);

    Modified table.

    SQL > alter table my_first change codeZone VARCHAR2 (3);

    Modified table.

    SQL > alter table my_sec change codeZone VARCHAR2 (3);

    Modified table.

    SQL > create index my_first_i on my_first (substr (nls_lower (areacode), 1, 7), substr (nls_lower (account_num), 1, 15));

    The index is created.

    SQL > create index my_sec_i on my_sec (area code, account_num);

    The index is created.

    SQL > analyze table my_first computing statistics for all columns indexed for all indexes.

    Parsed table.

    SQL > analyze table my_sec computing statistics for all columns indexed for all indexes.

    Parsed table.

    SQL > exec dbms_stats.gather_table_stats (USER, 'MY_FIRST');

    PL/SQL procedure successfully completed.

    SQL > exec dbms_stats.gather_table_stats (USER, 'MY_SEC');

    PL/SQL procedure successfully completed.

    SQL > my_first desc;
    Name                                      Null?    Type
    ----------------------------------------- -------- ----------------------------
    CODEZONE VARCHAR2 (3)
    ACCOUNT_NUM VARCHAR2 (12)
    NAME VARCHAR2 (4000)

    SQL > desc my_sec
    Name                                      Null?    Type
    ----------------------------------------- -------- ----------------------------
    CODEZONE VARCHAR2 (3)
    ACCOUNT_NUM VARCHAR2 (12)
    NAME VARCHAR2 (4000)

    SQL > select * from my_sec where account_num = '4000';


    Execution plan
    ----------------------------------------------------------
    Hash value of plan: 1838048852

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

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). TI
    me |

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

    |   0 | SELECT STATEMENT |          |     1.    19.     3 (0) | 00
    : 00:01 |

    |   1.  TABLE ACCESS BY INDEX ROWID | MY_SEC |     1.    19.     3 (0) | 00
    : 00:01 |

    |*  2 |   INDEX SKIP SCAN | MY_SEC_I |     1.       |     2 (0) | 00
    : 00:01 |

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


    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    2 - access ("ACCOUNT_NUM" = '4000')
    Filter ("ACCOUNT_NUM" = '4000')


    Statistics
    ----------------------------------------------------------
    1 recursive calls
    0 db block Gets
    Gets 7 compatible
    0 physical reads
    0 redo size
    543 bytes sent via SQL * Net to client
    384 bytes received via SQL * Net from client
    2 SQL * Net back and forth to and from the client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed

    SQL > select * from my_first where substr (nls_lower (account_num), 1: 25) = '4000';


    Execution plan
    ----------------------------------------------------------
    Hash value of plan: 1110109060

    ------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    ------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT |          |     1.    20.     9 (12) | 00:00:01 |
    |*  1 |  TABLE ACCESS FULL | MY_FIRST |     1.    20.     9 (12) | 00:00:01 |
    ------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    1 Filter (SUBSTR (NLS_LOWER ("MY_FIRST". "" "" ACCOUNT_NUM")(, 1, 15) ="4000"
    AND SUBSTR (NLS_LOWER ("ACCOUNT_NUM"), 1, 25) = '4000')


    Statistics
    ----------------------------------------------------------
    15 recursive calls
    0 db block Gets
    Gets 26 consistent
    0 physical reads
    0 redo size
    543 bytes sent via SQL * Net to client
    384 bytes received via SQL * Net from client
    2 SQL * Net back and forth to and from the client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed

    SQL > Select / * + INDEX_SS (MY_FIRST) * / * from my_first where substr (nls_lower (account_num), 1: 25) = '4000';


    Execution plan
    ----------------------------------------------------------
    Hash value of plan: 2466066660

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

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU).
    Time |

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

    |   0 | SELECT STATEMENT |            |     1.    20.    17 (6) |
    00:00:01 |

    |*  1 |  TABLE ACCESS BY INDEX ROWID | MY_FIRST |     1.    20.    17 (6) |
    00:00:01 |

    |*  2 |   INDEX SCAN FULL | MY_FIRST_I |     1.       |    16 (7) |
    00:00:01 |

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


    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    1 - filter (SUBSTR (NLS_LOWER ("ACCOUNT_NUM"), 1, 25) = '4000')
    2 - access (SUBSTR (NLS_LOWER ("ACCOUNT_NUM"), 1, 15) = '4000')
    Filter (substr (NLS_LOWER ("ACCOUNT_NUM"), 1, 15) = '4000')


    Statistics
    ----------------------------------------------------------
    15 recursive calls
    0 db block Gets
    857 consistent gets
    0 physical reads
    0 redo size
    543 bytes sent via SQL * Net to client
    384 bytes received via SQL * Net from client
    2 SQL * Net back and forth to and from the client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed

    Check MoS for a bug with the FBI and Skip Scan - it sounds like it could be a bug.

    On 11.2.0.4 with your sample code 10053 trace shows the optimizer whereas an index FULL scan to the point where she should consider an index SKIP scan for "unique table path".

    A person with 12.1.0.1 practice would like to run your test and see if it's fixed in this version.

    Concerning

    Jonathan Lewis

  • Invalid column index: Houston-27122: SQL error in the preparation of the statement

    Hello

    I get under the exception in my extended OAF page:

    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: 27122 Houston: SQL error in the preparation of the statement.  Instruction: SELECT OpportunityEO.lead_id, OpportunityEO.last_update_date as LastUpdateDate, OpportunityEO.creation_date, OpportunityEO.lead_number, OpportunityEO.customer_id, NVL(OpportunityEO.TOTAL_AMOUNT,0) as value TotalAmount, OpportunityEO.Decision_Date, OpportunityEO.win_probability, OpportunityEO.description as the Description, OpportunityEO.Currency_Code, OpportunityEO.Source_Promotion_Id, OpportunityEO.OWNER_SALESFORCE_ID, OpportunityEO.TOTAL_REVENUE_OPP_FORECAST_AMT, null as VehicleResponseCode, ast.meaning as OpptyStatusName, null as CurrencyName, null as SalesStageName, hp.party_name as Nom_tiers, null as CustomerCategory , null as null as ContactName, null as PersonFirstName, null as PersonLastName, null as PersonMiddleName, null as salutation, null as EmailAddress, JobTitle as null, null as PhoneCountryCode, null as PhoneAreaCode, null as PhoneNumber PersonId, null as PhoneExtension, null as PhoneLineType, to_number (null) ContactPointId, null as FormattedPhone OpportunityEO.attribute1, hp.attribute4 city, (case WHEN (OpportunityEO.attribute13) length! = 19 THEN null ELSE fnd_date.canonical_to_date (OpportunityEO.attribute13) END) as a country , (case WHEN (OpportunityEO.attribute14) length! = 19 THEN null ELSE fnd_date.canonical_to_date (OpportunityEO.attribute14) END) as Province, null as PostalCode, to_number (null) ContactLocationId, null as address, null as SourceName, jrt.resource_name as ResourceName, null as SalesChannel, null as RelationShipId, null as PrimaryContactPartyId, null as CustState, null as CustCity, null as CustCountry, null as CustProvince, null as CustPostalCode, to_number (null) as CustomerLocationId , null as CustAddress, null, OpptyUpdatedBy, null, OpptyCreatedBy, null as MethodologyNm, null as CloseReason, null as AssignmentStatusNm, OpportunityEO.PRM_Referral_Code as ReferralCode, null as PrimaryPhoneCountryCode, null as PrimaryPhoneAreaCode, null as PrimaryPhoneNumber, null as PrimaryPhoneExtension, null as PrimaryPhoneLineType, to_number (null) CustomerContactPointId, null as CustFormattedPhone, null as CustEmailAddress, null as ConvAmt, null as ConvFrcstAmt, null in the source code of as_leads_all OpportunityEO  , (SELECT / * + no_merge * / separate FROM as_accesses_all aaa aaa.lead_id WHERE the aaa.sales_lead_id of the aaa.lead_id IS NULL AND IS NOT NULL AND aaa.open_flag = 'Y' AND aaa.salesforce_id =: 0) social security, ast as_statuses_tl, as_lead_contacts_all alca, hz_parties HC, fnd_territories_tl ftt, hp hz_parties, jrt from jtf_rs_resource_extns_tl WHERE OpportunityEO.lead_id = secu.lead_id AND OpportunityEO.status = ast.status_code AND ast.language = USERENV('LANG') AND OpportunityEO.lead_id = alca.lead_id AND OpportunityEO.customer_ ID = alca.customer_id AND ALCA.primary_contact_flag = 'Y' AND alca.contact_party_id = hcp.party_id (+) AND hcp.country = ftt.territory_code AND ftt.language = USERENV ('LANG') AND OpportunityEO.customer_id = hp.party_id AND OpportunityEO.owner_salesforce_id = jrt.resource_id AND jrt.language = USERENV ('LANG') ORDER BY LastUpdateDate DESC

    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)

    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886)

    at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:733)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.executeOpptyQuery (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.executeOpptyQuery(ASNOpptyLstCOEx.java:335)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.processFormRequest (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.processFormRequest(ASNOpptyLstCOEx.java:134)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:854)

    at oracle.apps.fnd.framework.webui.OATableHelper.processFormRequest(OATableHelper.java:460)

    at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processFormRequest(OATableBean.java:1058)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:410)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(OAQueryHelper.java:1035)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1319)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)

    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3172)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1927)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    at _pages.__oa._jspService(__oa.java:233)

    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

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

    at oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:213)

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

    at oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:141)

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

    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter (unknown Source)

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

    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:432)

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

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

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

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

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

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3748)

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

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

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

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

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

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

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

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

    # # 0 in detail

    java.sql.SQLException: invalid column index

    at oracle.jdbc.driver.OraclePreparedStatement.setNUMBERInternal(OraclePreparedStatement.java:8141)

    at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:10791)

    at oracle.jdbc.driver.OraclePreparedStatement.setCustomDatumInternal(OraclePreparedStatement.java:10401)

    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11655)

    at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:253)

    at weblogic.jdbc.wrapper.PreparedStatement.setObject(PreparedStatement.java:357)

    at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)

    at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3940)

    at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)

    at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:14008)

    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)

    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)

    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3754)

    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection (unknown Source)

    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4591)

    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:751)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:900)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:814)

    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:808)

    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3674)

    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)

    at oracle.apps.xxfe.f486.asn.opportunity.server.ASNOpptyQryAMExImpl.initOpptyQuery(ASNOpptyQryAMExImpl.java:514)

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

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

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

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

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:733)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.executeOpptyQuery (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.executeOpptyQuery(ASNOpptyLstCOEx.java:335)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.processFormRequest (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.processFormRequest(ASNOpptyLstCOEx.java:134)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:854)

    at oracle.apps.fnd.framework.webui.OATableHelper.processFormRequest(OATableHelper.java:460)

    at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processFormRequest(OATableBean.java:1058)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:410)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(OAQueryHelper.java:1035)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1319)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)

    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3172)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1927)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    at _pages.__oa._jspService(__oa.java:233)

    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

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

    at oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:213)

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

    at oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:141)

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

    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter (unknown Source)

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

    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:432)

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

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

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

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

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

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3748)

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

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

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

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

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

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

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

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

    java.sql.SQLException: invalid column index

    at oracle.jdbc.driver.OraclePreparedStatement.setNUMBERInternal(OraclePreparedStatement.java:8141)

    at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:10791)

    at oracle.jdbc.driver.OraclePreparedStatement.setCustomDatumInternal(OraclePreparedStatement.java:10401)

    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11655)

    at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:253)

    at weblogic.jdbc.wrapper.PreparedStatement.setObject(PreparedStatement.java:357)

    at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)

    at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3940)

    at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)

    at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:14008)

    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)

    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)

    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3754)

    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection (unknown Source)

    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4591)

    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:751)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:900)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:814)

    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:808)

    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3674)

    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)

    at oracle.apps.xxfe.f486.asn.opportunity.server.ASNOpptyQryAMExImpl.initOpptyQuery(ASNOpptyQryAMExImpl.java:514)

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

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

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

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

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:733)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.executeOpptyQuery (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.executeOpptyQuery(ASNOpptyLstCOEx.java:335)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.processFormRequest (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.processFormRequest(ASNOpptyLstCOEx.java:134)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:854)

    at oracle.apps.fnd.framework.webui.OATableHelper.processFormRequest(OATableHelper.java:460)

    at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processFormRequest(OATableBean.java:1058)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:410)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(OAQueryHelper.java:1035)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1319)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)

    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3172)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1927)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    at _pages.__oa._jspService(__oa.java:233)

    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

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

    at oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:213)

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

    at oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:141)

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

    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter (unknown Source)

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

    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:432)

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

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

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

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

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

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3748)

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

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

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

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

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

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

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

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

    Could someone please help me to set up this bug?

    Thank you

    Anupam

    Anupam,

    It is difficult to understand the code as there are many alternatives to the query that happens. Not really sure why it is written a lot of code.

    Since the code of the AOS, that all extensions have been made on this page?

    The error is coming in the method executeQuery viewObject. The executeQuery() method is replaced? If so, can you provide this code?

    If this is not the case, try to print the query, the dynamic whereclause, the whereclause parameters, just before calling the executeQuery() and see what are the upcoming values. This will help you to debug more far.

    The query in the error message it is only a bind variable, is there anywhere in the code, it tries to set multiple connection parameters?

    See you soon

    AJ

  • Bad column index

    Hello

    When I start my replicat I got the following
    Bad column index (10) specified for table SIEBEL.S_RESP_BU, max columns = 10
    I have more than 2 columns in most target tables (other columns are the same).
    What is the pb?
    and if so what can I do?

    Thanks for your help

    My replicat setting is below:
    replicat rep1
    setenv (oracle_sid=XXX)
    userid ogg,password xxxx
    handlecollisions
    assumetargetdefs
    discardfile /tst/data/ogg/discards/resp.dsc,purge
    reperror default discard
    tableexclude siebel.S_SRM_TASK_HIST
    map SIEBEL.*, target SIEBEL.*;

    Check that your tables are identical. Currently, they are not, and by using ASSUMETARGETDEFS is not valid.

  • Interactive report - is possible to find and change if necessary the unique column.

    While creating an interactive report, I accidentally entered the wrong "single column" on the sql query page.  Is it a big problem and how do I find and change if necessary.

    33ac2d45-960f-45AF-acba-507f01d18e08 wrote:

    Please update your forum profile with a real handle instead of '33ac2d45-960f-45af-acba-507f01d18e08 '.

    While creating an interactive report, I accidentally entered the wrong "single column" on the sql query page.  Is it a big problem and how do I find and change if necessary.

    Query Builder
    Link to the simple view row Yes No
    Uniquely identify lines Single column ROWID
    Single column

    Yes. You can change this using the only the lines identified by / Unique column interactive properties in the section of the column of link in the attributes of the report definition report tab.

  • How to create a table with two unique columns

    How to create a table with two unique columns. I use the following syntax below and I get the error message such unique or primary key already exists.

    create the table COPQ_WORKCELL_GOAL
    (
    Type_id varchar2 (4) NOT NULL UNIQUE,
    Tyle_Location varchar2 (30) NOT NULL UNIQUE,
    Type_Description varchar2 (20).
    KEY elementary SCHOOL (Type_id)
    );

    Use 1 or the other column type_id;

    create table COPQ_WORKCELL_GOAL
    (
      Type_id varchar2(4),
      Tyle_Location varchar2(30) NOT NULL UNIQUE,
      Type_Description varchar2(20),
      PRIMARY KEY (Type_id)
    );
    
    Table created
    drop table COPQ_WORKCELL_GOAL;
    
    Table dropped
    create table COPQ_WORKCELL_GOAL
    (
      Type_id varchar2(4) primary key,
      Tyle_Location varchar2(30) NOT NULL UNIQUE,
      Type_Description varchar2(20)
    );
    
    Table created
    
  • index composite index of single column vs?

    I just wonder what are the differences between the following?

    create table (test)

    person_id number

    name varchar2 (50).

    name varchar2 (50)

    );

    create index my_indx on test (name);

    create index my_indx2 on test (family name);

    OR

    create index my_indx3 on test (name, first name);

    OR

    create index my_indx4 on test (name, name);

    What are the differences between these three index?

    When to create full name in same (composite index) columns in order to scan of systematic index should I use two of them in the where clause?

    My last question is, is the order for the composite index?

    Thanks in advance.

    Hello

    the difference between the 3 case is quite simple:

    (1) on the first and last name predicates can be solved through scan of the index systematic range

    (2) predicates on name can be solved through systematic index scan range, predicates on names can only use indexes skip scan (which is about NDV (name) times less efficient than a scan of normal range, where NDV (name) is the number of distinct values in the name column)

    ((3) same as 2) with swapped name

    (Not that if a query involves both a name and a surname, then box 1) would have to choose between a scan interval index 'fat' and a join of the index. (Anyway it's going to be more expensive than 2) or 3) (who are going to be just as effective in this case).

    Best regards

    Nikolai

  • Context with USER_DATASTORE with multi-column index returns no records

    Hi Expert,

    Based on this url: http://docs.oracle.com/cd/B28359_01/text.111/b28304/cdatadic.htm#i1006810

    I tried to create an oracle text index, but I could not retrieve the data

    Here is my script:

    create table items)

    Identification number,

    author varchar2 (80).

    title varchar2 (120),

    text (clob);

    Create procedure MyProc (rid of rowid, tlob in out nocopy clob) is

    Start

    C1 in (select author, title and text of the articles

    where rowid = RID)

    loop

    DBMS_LOB. WriteAppend (tlob, length (c1.title), c1.title);

    DBMS_LOB. WriteAppend (tlob, length (c1.author), c1.author);

    DBMS_LOB. WriteAppend (tlob, length (c1.text), c1.text);

    end loop;

    end;

    Start

    ctx_ddl.create_preference ('myud', 'user_datastore');

    ctx_ddl.set_attribute ("myud", "procedure", "MyProc");

    ctx_ddl.set_attribute ('myud', 'TYPE_SORTIE', 'CLOB');

    end;

    create index myindex2 on articles (text)

    indexType is ctxsys.context

    parameters ("DATASTORE myud");

    insert into articles (id, author, title) values (1, 'A', "AAAAAA"); validation;

    insert into articles (id, author, title) values (2, 'B', 'BATH'); validation;

    insert into articles (id, author, title) values (3, 'C', 'CCCCCC'); validation;

    insert into articles (id, author, title) values (4,'d "," DDDDDD ""); commit;

    EXEC CTX_DDL. SYNC_INDEX('myindex2','2M');

    Select * from items where contains (text, 'B', 1) > 0;  -This will display nothing.

    Can someone help me?

    Scott@orcl_11gR2 > create table (items)

    Number 2,

    3 author varchar2 (80).

    4 title varchar2 (120),

    5 text varchar2 (30))

    4 m

    Table created.

    Scott@orcl_11gR2 > create procedure MyProc

    2 (get rid of rowid,

    3 - nocopy clob clob nocopy not:

    4 tlob in out nocopy clob)

    5 is

    6 start

    7 C1 in

    8 (select author, title, text

    9 articles

    10 where rowid = RID)

    11 loop

    12 if c1.title is not null then

    13 dbms_lob.writeappend (tlob, length (c1.title), c1.title);

    14 end if;

    15 if c1.author is not null then

    16 - Add space between columns:

    17 dbms_lob.writeappend (tlob, 1, ' ');

    18 dbms_lob.writeappend (tlob, length (c1.author), c1.author);

    19 end if;

    20 if c1.text is not null then

    21 - Add space between columns:

    22 dbms_lob.writeappend (tlob, 1, ' ');

    23 - use Add to clob, instead of writeappend:

    24 dbms_lob.append (tlob, c1.text);

    25 end if;

    26 end of loop;

    27 end;

    28.

    Created procedure.

    Scott@orcl_11gR2 > display errors

    No errors.

    Scott@orcl_11gR2 > start

    2 ctx_ddl.create_preference ('myud', 'user_datastore');

    3 ctx_ddl.set_attribute ('myud', 'procedure', "MyProc");

    4 ctx_ddl.set_attribute ('myud', 'TYPE_SORTIE', 'CLOB');

    5 end;

    4 m

    PL/SQL procedure successfully completed.

    Scott@orcl_11gR2 > create index myindex2 on articles (text)

    2 indextype is ctxsys.context

    3 - Add empty_stoplist to the parameters, so the individual letters are indexed:

    4 parameters

    5 ("DATASTORE myud

    6 ctxsys.empty_stoplist of stoplist ')

    7.

    The index is created.

    Scott@orcl_11gR2 > insert all

    2 in the articles (id, author, title) values (1, 'A', "AAAAAA")

    3 in values (id, author, title) articles (2, 'B', 'BATH')

    4 in values (id, author, title) articles (3, 'C', 'CCCCCC')

    5 in articles (id, author, title) values (4,'d "," DDDDDD "")

    6 select * of the double

    7.

    4 lines were created.

    Scott@orcl_11gR2 > commit

    2.

    Validation complete.

    Scott@orcl_11gR2 > CTX_DDL EXEC. SYNC_INDEX('myindex2','2M')

    PL/SQL procedure successfully completed.

    Scott@orcl_11gR2 >-show what procedure produces:

    Scott@orcl_11gR2 > declare

    2 v_clob clob: = empty_clob();

    3. start

    4 C1 to

    5 (select rowid rid

    6 items)

    7 loop

    8 dbms_lob.createtemporary (v_clob, true);

    9 myproc (c1.rid, v_clob);

    10 dbms_output.put_line (v_clob);

    11 dbms_lob.freetemporary (v_clob);

    12 end loop;

    13 end;

    14.

    ABDELKRIM HAS

    BATH B

    CCCCCC C

    DDDDDD D

    PL/SQL procedure successfully completed.

    Scott@orcl_11gR2 >-show which is indexed:

    Scott@orcl_11gR2 > select token_text Dr. myindex2$ $I

    2.

    TOKEN_TEXT

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

    A

    ABDELKRIM

    B

    BATH

    C

    CHABOUNI

    D

    OUR

    8 selected lines.

    Scott@orcl_11gR2 > select * from articles where contains (text, 'B', 1) > 0

    2.

    ID

    ----------

    AUTHOR

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

    TITLE

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

    TEXT

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

    2

    B

    BATH

    1 selected line.

  • Oracle Text multi column index based query returns no rows

    Hello

    I have a MAH_KERESES_MV table with 3 columns OBJEKTUM_NEV, KERESES_SZOVEG_1, KERESES_SZOVEG_2. I create the following Oracle multi column text index:

    ctx_ddl.create_preference exec ('MAH_SEARCH', 'MULTI_COLUMN_DATASTORE');
    ctx_ddl.set_attribute exec ('MAH_SEARCH', 'COLUMNS', 'OBJEKTUM_NEV, KERESES_SZOVEG_1, KERESES_SZOVEG_2');

    create index MAX_KERES_CTX on MAH_KERESES_MV (OBJEKTUM_NEV)
    indexType is ctxsys.context
    parameters ("DATASTORE MAH_SEARCH");
    But the query returns no rows, although if I make the query with the 'like' operator, and then I get the results as expected:

    SELECT id, OBJEKTUM_NEV
    OF MAH_KERESES_MV
    WHERE CONTAINS (OBJEKTUM_NEV, "C") > 0;

    Can some body please help? TIA,

    Tamas

    You can do it in Oracle Text, well it is not necessarily desirable.

    You can search the

    WHERE CONTAINS(OBJEKTUM_NEV, '%C%')>0;
    

    And it will probably work in a simple test. However, using a leader like this wildcard prevents them the index on the table "list of words" used, so such a request can be very slow on a large system.
    You can improve this by using SUBSTRING_INDEX, but making your much bigger index. And you could always hit the 'expansions too' problem if %C % expansion is more than about 15,000 words (depending on version and different settings).

    Also be aware of differences in case - %C % will match 'fact' or 'FACT', as part of a CONTAINS, but not part of a TYPE.

  • NLSSORT function not used with CHAR and VARCHAR2 column index

    Hello!

    Create a test bench:
    CREATE TABLE scott.nls_demo
          (
          col_varchar            varchar2(4),
          col_char               char(4),
          col_varchar_NLS_GERMAN varchar2(4),
          col_char_NLS_GERMAN    char(4)
          );
     
    INSERT INTO scott.nls_demo (
          col_varchar,
          col_char,
          col_varchar_NLS_GERMAN,
          col_char_NLS_GERMAN  )
      SELECT 
             substr(object_name,1,4),
             substr(object_name,1,4),
             substr(object_name,1,4),
             substr(object_name,1,4)
      FROM all_objects where rownum<5000;
    
    COMMIT; 
    
    create index scott.i_varchar on scott.nls_demo (col_varchar);  
    create index scott.i_char    on scott.nls_demo (col_char);
    
    create index scott.i_varchar_NLS_GERMAN on scott.nls_demo ( NLSSORT(col_varchar_NLS_GERMAN,'nls_sort=''GERMAN_CI'''));  
    create index scott.i_char_NLS_GERMAN    on scott.nls_demo ( NLSSORT(col_char_NLS_GERMAN,   'nls_sort=''GERMAN_CI'''));
     
    Now "explain plan" these 8 select statements in SQL * more:
    variable c char(4);
    variable v varchar2(4);
    
    exec :c:= 'abc';
    exec :v:= 'abc';
    
    explain plan for SELECT /* 1*/ * FROM scott.nls_demo where col_varchar=:v;
    SELECT * FROM TABLE(dbms_xplan.display);
    
    explain plan for SELECT /* 2*/ * FROM scott.nls_demo where col_char=:c;
    SELECT * FROM TABLE(dbms_xplan.display);
    
    explain plan for SELECT /* 3*/ * FROM scott.nls_demo where col_varchar_NLS_GERMAN=:v;
    SELECT * FROM TABLE(dbms_xplan.display);
    
    explain plan for SELECT /* 4*/ * FROM scott.nls_demo where col_char_NLS_GERMAN=:c;
    SELECT * FROM TABLE(dbms_xplan.display);
    
    ALTER SESSION SET NLS_COMP = linguistic;
    ALTER SESSION SET NLS_SORT = german_ci;
    
    explain plan for SELECT /* 5*/ * FROM scott.nls_demo where col_varchar=:v;
    SELECT * FROM TABLE(dbms_xplan.display);
    
    explain plan for SELECT /* 6*/ * FROM scott.nls_demo where col_char=:c;
    SELECT * FROM TABLE(dbms_xplan.display);
    
    explain plan for SELECT /* 7*/ * FROM scott.nls_demo where col_varchar_NLS_GERMAN=:v;
    SELECT * FROM TABLE(dbms_xplan.display);
    
    explain plan for SELECT /* 8*/ * FROM scott.nls_demo where col_char_NLS_GERMAN=:c;
    SELECT * FROM TABLE(dbms_xplan.display);
     
    What I see on 11.2.0.2 is:

    1.) statement 1 would use the I_VARCHAR index, that is what I expected.
    2.) statement 2 would use the I_CHAR index, that is what I expected.
    3.) no clue used, because none are available right here for you. Understood.
    4.) no clue used, because none are available right here for you. Understood.

    And when define us NLS_SORT = german_ci:

    5.) no clue used, because none are available right here for you. Understood.
    6.) no clue used, because none are available right here for you. Understood.
    7.) I_VARCHAR_NLS_GERMAN we used. Large.
    8.) no index used, although I think that "i_char_NLS_GERMAN" would do the job...

    Why the index 'i_char_NLS_GERMAN' is not used with the 8 statement? Jonathan? Someone else?

    Thanks for your help!
    Marcus

    Not really a reason to not use TANK - although there are many of them.

    More than one reason to not always rely to "explain the plan for?

    All the variables passed in EXPLAINING the PLAN for are treated as VARCHAR2.
    In addition, there is no point setting the values of the variable because they will not cast a look either with MAP to EXPLAIN.

    SQL> CREATE TABLE nls_demo
      2        (
      3        col_varchar            varchar2(4),
      4        col_char               char(4),
      5        col_varchar_NLS_GERMAN varchar2(4),
      6        col_char_NLS_GERMAN    char(4)
      7        );
    
    Table created.
    
    SQL>
    SQL> INSERT INTO nls_demo (
      2        col_varchar,
      3        col_char,
      4        col_varchar_NLS_GERMAN,
      5        col_char_NLS_GERMAN  )
      6    SELECT
      7           substr(object_name,1,4),
      8           substr(object_name,1,4),
      9           substr(object_name,1,4),
     10           substr(object_name,1,4)
     11    FROM all_objects where rownum<5000;
    
    4999 rows created.
    
    SQL>
    SQL> commit; 
    
    Commit complete.
    
    SQL>
    SQL> create index i_varchar on nls_demo (col_varchar);  
    
    Index created.
    
    SQL> create index i_char    on nls_demo (col_char);
    
    Index created.
    
    SQL>
    SQL> create index i_varchar_NLS_GERMAN on nls_demo ( NLSSORT(col_varchar_NLS_GERMAN,'nls_sort=''GERM
    AN_CI'''));  
    
    Index created.
    
    SQL> create index i_char_NLS_GERMAN    on nls_demo ( NLSSORT(col_char_NLS_GERMAN,   'nls_sort=''GERM
    AN_CI'''));
    
    Index created.
    
    SQL>
    SQL> variable c char(4);
    SQL> variable v varchar2(4);
    SQL>
    SQL> exec :c:= 'abc';
    
    PL/SQL procedure successfully completed.
    
    SQL> exec :v:= 'abc';
    
    PL/SQL procedure successfully completed.
    
    SQL>
    SQL> ALTER SESSION SET NLS_COMP = linguistic;
    
    Session altered.
    
    SQL> ALTER SESSION SET NLS_SORT = german_ci;
    
    Session altered.
    
    SQL>
    SQL> SELECT /* 8*/ * FROM nls_demo where col_char_NLS_GERMAN=:c;
    
    no rows selected
    
    SQL> SELECT * FROM TABLE(dbms_xplan.display_cursor);
    
    PLAN_TABLE_OUTPUT
    ----------------------------------------------------------------------------------------------------
    SQL_ID  9su0j5vzuwzyj, child number 0
    -------------------------------------
    SELECT /* 8*/ * FROM nls_demo where col_char_NLS_GERMAN=:c
    
    Plan hash value: 2830339923
    
    -------------------------------------------------------------------------------------------------
    | Id  | Operation                   | Name              | Rows  | Bytes | Cost (%CPU)| Time     |
    -------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT            |                   |       |       |     3 (100)|          |
    |   1 |  TABLE ACCESS BY INDEX ROWID| NLS_DEMO          |    50 |  2150 |     3   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | I_CHAR_NLS_GERMAN |    20 |       |     1   (0)| 00:00:01 |
    -------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - access("NLS_DEMO"."SYS_NC00006$"=NLSSORT(:C,'nls_sort=''GERMAN_CI'''))
    
    Note
    -----
       - dynamic sampling used for this statement (level=2)
    
    23 rows selected.
    
    SQL> 
    

    Published by: Dom Brooks on February 21, 2011 15:39

  • Validation for combinations of unique columns in a report

    Hello

    I have a form on a Table with report 'C' (columns C1_pk, A1_fk, B1_fk) where I connect the primary keys of the table (columns A1_pk, A2, A3) 'A' and 'B' (columns B1_pk, B2, B3) table.

    I want to create a Validation process to have combinations of single column for the table C.

    Basically, table A represents users, table B represents groups, table C assigns users to the groups. I need a validation to avoid duplication of Group of users associations in table C.

    My form table C has just 2 LOV points (P11_A, P11_B) to call A table and values in table B, I need a validation process after 'create' button click, but I do not know how to write code.

    Any suggestion please?

    Thank you

    K

    Jesse wrote:

    I have a form on a Table with report 'C' (columns C1_pk, A1_fk, B1_fk) where I connect the primary keys of the table (columns A1_pk, A2, A3) 'A' and 'B' (columns B1_pk, B2, B3) table.

    I want to create a Validation process to have combinations of single column for the table C.

    Basically, table A represents users, table B represents groups, table C assigns users to the groups. I need a validation to avoid duplication of Group of users associations in table C.

    My form table C has just 2 LOV points (P11_A, P11_B) to call A table and values in table B, I need a validation process after 'create' button click, but I do not know how to write code.

    Any suggestion please?

    I suggest you:

    • Add a unique constraint on the table C for (A1_FK, B1_FK) to make sure that the table cannot contain duplicates.
    • Instead of validation, it is easier to use to prevent the selection of existing combinations. Create the P11_B element under a shuttle, so that users cannot select a group more than once.
  • resize unique columns of table front panel

    I have a bunch of columns on my front and some of them contain lon channels, while others have only a maximum of 2-3 strings in them.

    I'm looking for a way to resize each column without resizing all the others at the same time. If I have them all the same length and the length of the string max I get the table is much too large to fit on the screen space and navigation in labview VI leaves much to be desired.

    His cosmetic event but would help me see clearer information and as the information are all locked in long strings his does not work well with what im doing then.

    Watch multicolumn ListBox or tables. They allow the customization of the column widths and are specially designed for user interfaces.  Protect your data in a table to the schema for the treatment, but the indicators on the front panel.

    Lynn

  • calculate the difference of unique column values

    I tried the info and the website to learn how to perform a "calculation difference" function on a single column (channel) of data.  For example if my data channel is a period of time to say the following: 100, 101, 99, 102, 100, 99...  I would like to calculate 100-101 101 - 99 then then 99-102 and so on for all the values.  How can I do this?

    Hi ranger,

    Looks like you're looking for the standard function "Calculate the disparity" ANALYSIS > basic math.

    Hope this helps,
    Ralf

  • Transpose the unique column values online

    Hi all

    How to transpose the values of one column in a row,

    COL

    1

    2

    3

    4

    5

    6

    7

    8

    and I want to convert this column into the line as follows:

    Line (each in a separate column value). Number of values is not constant.

    1,2,3,4,5,6,7,8

    Solution without converting them to XML:

    WITH row_values

    AS (SELECT DISTINCT property_name,

    column_order

    OF v_rd_property_definition

    WHERE lp_id = 5171

    ORDER BY column_order)

    SELECT Regexp_substr(Wm_concat(property_name), "[^,] +' 1, 1") AS col1,.

    Regexp_substr (Wm_concat(property_name), "[^,] +' 1, 2"). AS col2.

    Regexp_substr (Wm_concat(property_name), "[^,] +' 1, 3") AS col3.

    Regexp_substr (Wm_concat(property_name), "[^,] +' 1, 4") AS col4,.

    Regexp_substr (Wm_concat(property_name), "[^,] +' 1, 5") AS col5,.

    Regexp_substr (Wm_concat(property_name), "[^,] +' 1, 6") AS col6,.

    Regexp_substr (Wm_concat(property_name), "[^,] +' 1, 7") AS col7

    OF row_values;

  • Conversion of an array of unique column in a table of two columns

    Hello world

    What I'm trying to do is to convert a single column table in a table with two columns. Here is an example:
    Table (column):
    ID1
    ID2
    ID3
    ID4
    ID5

    Table B (two columns) must be:
    ID1 ID2
    ID3 ID4
    ID5

    I've been browsing through a cursor and do an insert every 2 rows, but do not like performance.
    Is there a more easy/fast way to do this?

    Thanks in advance
    Oscar
    with t as (
               select 'ID1' col1 from dual union all
               select 'ID2' from dual union all
               select 'ID3' from dual union all
               select 'ID4' from dual union all
               select 'ID5' from dual
              ) -- end of sample table
    select  col1,
            col2
      from  (
             select  col1,
                     lead(col1) over(order by col1) col2,
                     row_number() over(order by col1) rn
               from  t
            )
      where mod(rn,2) = 1
    /
    
    COL COL
    --- ---
    ID1 ID2
    ID3 ID4
    ID5
    
    SQL> 
    

    SY.

Maybe you are looking for

  • iMovie options greyed out

    I use iMovie 10.1.2 with Mac OS X El Capitan 10.11.6.  When I click on file in the iMovie menu bar, the options to create a new movie or a new trailer are grayed out.  No idea how to a-grey them? I tried closing iMovie, rampage the Settings.plist fil

  • my keyboard type

    My keyboard won't type. Its very strange, im do not know what happened, but now used to my keyboard type, letters and made that the occasional strange thing as highlight words or tabs to open.

  • What can I use to replace fast and buy in Italy

    Fast and willingness to buy is no longer available to process payments on the Italian iTunes store. What replacement option will be available?

  • M50 - 180 Grafik problem

    Hello...I have problems to install the driver for my satellite m50 - 180 huemenos, I downloaded the old of ati catalyst driver, but he always says that I have to install the vga standard first driver, I removed the map huemenos materiel Manager a rei

  • Popup VI does not close

    I have a VI that has a hand while loop, and with that, the popup closes, but then if I add an event (modified value), the VI will not close. I'm really green with this stuff, so I do not know someone can tell me what I am doing wrong seconds.