Sequence of records returned

Hi,
I have a question on the sequence of records returned by Endeca. I am using Endeca 3.1.1. As I understand the following factors that influence this - order in which records are indexed, relevancy rule / sort rule, boost rule. Now what is the precedence followed by Endeca in applyig the above factors? Does Endeca apply the above factors in the following way or is it different?
a) order in which records are indexed
b) boost rule
c) relevancy / sort rule
Thanks
Edited by: 899001 on Apr 15, 2013 8:38 PM

It depends on the Traversal setting you use
http://msdn.microsoft.com/en-us/library/office/microsoft.exchange.webservices.data.foldertraversal(v=exchg.80).aspx eg if you only use a Shallow traversal the folders are returned alphabetically. If you use a Deep traversal the you'll get Folder-Subfolder
alphabetically. The Parent folder will always be returned before the child.
Cheers
Glen

Similar Messages

  • Which system field returns the number of records returned after a select?

    Which system field returns the number of records returned after a select?
    a) sy-index
    b) sy-recno
    c) sy-lncnt
    d) sy-dbcnt
    e) sy-tabix

    Hi,
       SY-DBCNT
    Regards,
    Prashant

  • How do I count the number of records returned in the CMIS query

    How do I count the number of records returned in the query CMIS?
    SELECT COUNT(*) FROM ora:t:IDC:GlobalProfile WHERE ora:p:xRegionDefinition = \'RD_PROJETOS_EXCLUSIVOS\''}
    Euler Homero

    Hi Euler,
    interestingly enough, the reference guide for CMIS ( http://wiki.alfresco.com/wiki/CMIS_Query_Language ) that I found does not mention the COUNT function at all. On the other hand it states that: "The SELECT clause identifies which virtual columns to return in the result set. It can be either a comma-separated list of one or more queryNames of properties that are defined by queryable object types or * for all virtual columns."
    There are, however, some other posts like e.g. http://alfrescoshare.wordpress.com/2010/01/20/count-the-total-number-of-documents-in-alfresco-using-sql/ which state that they could make it working.
    Having asked in the WebCenter Portal forum, I assume that your content repository is WebCenter Content. The CMIS doc for the Content is available here: http://docs.oracle.com/cd/E23943_01/doc.1111/e15813.pdf (no COUNT there either). It does, however, mention explicitly that "CMIS queries return a Result Set where each Entry object will contain only the properties that were specified in the query.". This means your could rather investigate the Result Set. Note that there are also other means than CMIS how to get the requested result set (e.g. calling a search service directly via so-called RIDC).
    In the given context I am also interested what your use case is. OOTB CMIS in WebCenter Portal is used, for instance, in Content Presenter, where it is content rather than "parameters" what's displayed.

  • How to e-mail/not e-mail a scheduled report based on records returned

    Hi Everyone,
    Is there a way that there can be logic performed on a report that has been scheduled and ran before it gets sent via e-mail to the end users?  We have scheduled reports that often end up with 0 records returned but users still get the e-mail with the report that contains 0 records.  I would like to e-mail the reports only if the records returned is greater than 0.
    We are on v3.1 so if there is a solution for 3.1 that would be great.  If this capability exists in 4.0, that information would be very helpful as well.
    Thank you for your time.
    David Hellinger

    Apply an event on your report.
    First go to Cmc, create an event based for example on a file that should be created in certain route if the query won't return 0 rows.
    Then apply this event in your report Schedule option Event.

  • How-To Display the Number of Records Returned from a List to the User?

    We currently are using lists to identify accounts that meet various criteria. Because the territories vary from 4k to 60k customers the users have stated that they don't know the size of the list and therefore don't know if they need to refine the list. Currently they are exporting to Excel to look at the row count to see if they need to further refine their searches. This takes quite a while and while shuffling through many lists is a bit painful. Isn't there a way to just show the total records returned from the list down at the bottom of the screen where it allows you to see 25/50/75/100 records at a time?
    There is probably a simple way to do this but it is a large user dissatisfier at the time because we simply don't know how to make this show up. Again we are using lists and not analytics for simple lists at this time.
    - john
    Edited by: user11286597 on Jun 19, 2009 11:02 AM

    Thanks Bobb. I can't believe that one wasn't in R1 :)
    Is there a link to the items being worked in the next release by any chance?
    - john

  • 2LIS_02_ITM : sequence of records in R/3 are coming in BW in reverseway

    The sequence of records i can see in R/3(in RSA3) ARE comining in BW in reverse order sequence.
    say for Example.
    in R/3 i can see the records as
    1
    2
    3
    4
    where as in BW in PSA
    The records are
    4
    3
    2
    1
    because of that the 4th record is overwritting by the 1st record.
    Pl. Help me.
    Madhu

    Hi,
    As per my understanding is that you need to validate the data in R/3 and BW if iam not mistaken then you can built a remote cube on R/3 datasource and i think you will be having basic cube in BW which contains data. now you can built an multicube on both remote and basic cubes and you can have a report on that multicube so that you can compare the data of both R/3 and BW.
    Regards,
    Malli.M

  • Sequence of folders returned in FindFolder

    Hi,
    I want to know the sequence of folders returned in FindFolders operation.
    As in is it alphabetically or like folder-subfolder sequence.
    Thanks
    Meeta Bijlani

    It depends on the Traversal setting you use
    http://msdn.microsoft.com/en-us/library/office/microsoft.exchange.webservices.data.foldertraversal(v=exchg.80).aspx eg if you only use a Shallow traversal the folders are returned alphabetically. If you use a Deep traversal the you'll get Folder-Subfolder
    alphabetically. The Parent folder will always be returned before the child.
    Cheers
    Glen

  • Periodic Alert-How to send all the records returned from the SQL in a mail?

    Hello all,
    I have defined a Periodic Alert, my SQL query returns more than one record whenever I run it. I also defined an action to send an email with the message consisting of the output variables from the SQL. Whenever i run this alert, a mail is being sent for every single record returned from the query. But i want to send a single mail containing all the records information that my SQL query returns.
    For Example: My SQL query lists all the users created on current date.
    Select User_Id, User_Name into &OUTPUT1, &OUTPUT2
    from fnd_users where trunc(creation_date) = trunc(sysdate)
    Now i want to send a mail with all the users information from the above query, to SYSADMIN. How can this be achieved?
    Thanks & Regards
    chakoo

    Hi Chakoo,
    If the Periodic Alert is not working as requried. You can write a simple package with 3 procedures to implement the writing output to a out file and simultaneuosly send email to multiple receiptents.
    Example:
    Create Package xx_pac
    Create public Procedure P1
    begin
    Select User_Id, User_Name into &OUTPUT1, &OUTPUT2
    from fnd_users where trunc(creation_date) = trunc(sysdate)
    fnd_file.put_line (fnd_file.output, &OUTPUT1, &OUTPUT2);
    end;
    (Create private Procedure P2
    begin
    ---Write the email package using the UTL_SMTP approch. Using this approch you can send the procedure P1 output file as an attachment to the desiginated receiptents.
    end;
    (Create public Procedure P3
    begin
    ---call the procedure P1 using the "g_request_id = fnd_request.submit_request"
    ---Wait for the above procedure to complete using "l_conc_status := fnd_concurrent.wait_for_request" procedure.
    ---call the procedure P2. (When called you must provide the correct to, from address)
    end;
    end;
    Register the Package xx_pac as a concurrent program and schedule when submit it from the request.
    Regards
    Arun Rathod

  • Alternate sequence with no "return" operation

    Hello PP experts,
    I have a routing with already a ALT sequence and no "branch" operation for the same, only my return oper is configured (this is a kind of converging routing).
    I tried to enter an ALT sequence without a "return" operation but in this case it is not authorized.
    Seams "branch" operation can be optional, but "return" is mandatory.
    Can you please confirm/advise how I could simply model a "diverging" routing sequence (going out of my main routing branch and no return on it).
    Thanks

    Thanks for your answer but this does not solve my pb.
    To me there are 2 business case which can lead to model a // or ALT sequence in addition to a main seq.
    1) As per your explanation, it is a need to increase and optimize the throughput based on lot size.
    OR
    2) In my case it is regardless of lot size and throughput, but it is to model a manufacturing process that needs to have a main sequence for production, then based upon some process triggers, to "branch out" the main sequence and terminate this process in a different way based on those triggers results.
    I already model one of my biz case where I need a main sequence on my routing, and this main seq is then joined by an ALT seq on a particular operation (my return operation). In that case usage of alternative seq with "branch oper = empty" and "return operation = 0040" is working well and fits my needs.
    Seams to do the reverse, that is to leave my "return operation = empty" is not allowed.
    Thanks,
    Franck

  • Error when viewing report Only when records returned.

    We have a strange situtation in that when we view a particular report it errors out when viewing ONLY when there are records returned. To make matters worse this report takes several parameters, and only on one parameter does this occur. That is say we have param1, param2, param3, param4. if we fill in parameters and param3 has a value of "value1" and it returns results we are fine. The same happens for our second value ("value2"), however when we make param3's value "Value2" and it returns results the report throws an error 73. The stack trace is below. Any ideas on this one? It is really throwing me since it is only for one value of the parameter that we get the error.
    2009-01-26 07:34:25,892 ERROR [JRCCommunicationAdapter] JRCAgent3 detected an exception: 73
         at com.crystaldecisions.reports.saveddata.c.aj.a(Unknown Source)
         at com.crystaldecisions.reports.saveddata.c.p.if(Unknown Source)
         at com.crystaldecisions.reports.dataengine.r.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.s.if(Unknown Source)
         at com.crystaldecisions.reports.dataengine.bk.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.h(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.e.p.void(Unknown Source)
         at com.businessobjects.reports.sdk.b.b.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.getLastPageNumber(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getLastPageNumber(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getLastPageNumber(Unknown Source)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getLastPageNumber(Unknown Source)
         at com.sacs.casi.oasis.action.reporting.ReportingAction.view(ReportingAction.java:117)
         at com.sacs.casi.oasis.action.reporting.ReportingAction.unspecified(ReportingAction.java:46)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:245)
         at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1078)
         at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:295)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:396)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:347)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:232)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.sacs.casi.oasis.filter.ActionFilter.doFilter(ActionFilter.java:101)
         at com.sacs.casi.oasis.filter.ActionFilter.doFilter(ActionFilter.java:53)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:222)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.sacs.casi.oasis.filter.SecurityFilter.doFilter(SecurityFilter.java:144)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.sacs.casi.oasis.filter.Log4JRequestInfoFilter.doFilter(Log4JRequestInfoFilter.java:42)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
         at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
         at java.lang.Thread.run(Unknown Source)

    That's a strange issue.
    Now that you've mentioned stored procs - does the stored proc handle params set to null?
    I've seen issues where on verify Crystal sends null param values to stored proc, and if the stored proc doesn't handle them (or return a consistent schema), errors out.
    Above in case you'd like to revisit the issue or if you encounter the issue again.
    Sincerely,
    Ted Ueda

  • Date based report with multiple record return

    Hello all,
       Here is the situation. Running MAS 4.1 and using Crystal 10 for doing reports. I currently have a custom report that shows all invoices that have been paid for any given date range. This works great except when there is a "credit Memo" against an invoice. The way I'm getting all paid invoices is via a formula. The record set I have to pull against lists the invoice amount, date paid and amount paid. Simple calculation on the returned record will tell you if it has been paid off or not. The problem I'm having is those invoice records that also have a credit memo against them. The credit memo entries do not have a "paid date" and since that is my main selection criteria those records will not pull into my report, and therefor those invoices will not be showed as being paid. What I need to happen (and I don't know how to do it). Is for the report to run based upon the date range specified, and pull in related records even if there is no "paid date" on them. The way MAS stores it's invoice/credit memo records is the same for both. The main difference is that invoice has the "type" field set to "IN" and a credit memo has the "type" field set to "CM". So the actual "invoice number" is the same for both kinds of records. I hope my request makes sense, if not let me know and I will try to explain what does not make sense.  Thanks in advance.  Bill

    Jason,
        You've been very helpful, but I guess I'm just not explaining myself that well. The Credit Memo's throw things off because they do not contain a "Paid Date" value. That field in the record is blank. Since it is blank the report query ignores them. Therefore when the report query returns all records that have a "Paid date" range of "x to y" they are never returned. This is a problem whenever a credit memo exists for an invoice because the "invoice total" never changes. So when a customer pays on their account for a particular invoice, they only pay what is due which is the "invoice total" minus any "credit" from the "Credit Memo". So when my A/R person receives payment they are showing the invoice paid in full because MAS automatically includes all invoices and credit memo's. My report does not because there is no data in the "Paid Date" field of the record for Credit Memos.
    I've been doing alot research in trying to resolve this "exception" to my report. I think I may be on to something, but my knowledge of arrays is extremely limited. My resolution involves populating an array with the "invoice numbers" that are returned from the initial query from the supplied date range. Then using the "invoice numbers" from the array have it then populate my details section of the report with all of "invoice records" both the actual invoice record and any "credit memo" records. I can then group the records returned  based upon the "invoice number". then within that grouping I can performing my calculations to show whether or not the invoice has been paid in full. What do you think?  I've been able to populate an array with the invoice numbers based upon my date search range, but I have yet to figure out how to take that information and perform another lookup to pull in the rest of the data I need. Do you have any ideas?
    Thanks.  Bill

  • Process All Records Returned in a SQL Report

    version 4.0.2.00.06
    Hello,
    I have an SQL Report that I've put a checkbox in the first column. I need to process all the records returned regardless if they are checked or not. If the row is checked I need to update a column in the table with one value and if it unchecked I need to update the same column with a different value.
    IF row is checked: UPDATE table SET cus_code = 'REQ' else cus_code = 'DEL'
    SELECT apex_item.checkbox(1,rownum,'UNCHECKED') " ",
    FROM table
    WHERE ...There are lots of examples of how to deal with the row if it is checked such as:
    BEGIN
        FOR i in 1..APEX_APPLICATION.G_F01.COUNT LOOP
            UPDATE emp
            SET ticked = 'Y'
            WHERE empno = APEX_APPLICATION.G_F01(i);
        END LOOP;
    COMMIT;
    END;I have not found any examples on how to process those rows that are unchecked. Can someone help me with how to do this?
    Please let me know if I'm not clear.
    Thanks,
    Joe

    Hello all,
    Thanks to everyone trying to make suggestions. Before I attempt to address some of the this suggestions I'm having other major problems. I can't even get the data to display!! Here's what I have:
    SELECT   apex_item.checkbox(1,dcu_id,'UNCHECKED') " "
         ,cust_number
         ,cust_company_name
         ,cust_address
         ,cust_city
         ,cust_state
         ,cust_postal_code
         ,decode(cls_code,'A','Active','I','Inactive','D','Active-Declining','P','Prospect') seg_descr
         ,annual_sales
         ,year_month
         ,dlr_id
         ,dlr_code
         ,cust_id
         ,drg_code
    FROM jr_customers_dm_query
        ,xmltable (trim ('''' || replace (:P29_PURCHASE_AMT, ':', ''',''') || ''''))
    WHERE round(annual_sales,0) BETWEEN regexp_substr (column_value, '\w+')  AND
                            regexp_substr (column_value, '\w+', 1, 2)        AND
          cls_code IN (trim ('''' || replace (:P29_CUST_SEG, ':', ''',''') || ''''))   AND
          drg_code IN (trim ('''' || replace (:P29_DISTANCE, ':', ''',''') || '''')) AND
          dlr_id = :P29_DLR_ID;Break down:
    P29_PURCHASE_AMT is a multi-select list with the possible values of: 0-0:1-1000:1000-5000:5000-10000:10000-25000:25000+
    P29_CUST_SEG is a multi-select list with the possible values of: A:D:I:P
    P29_DISTANCE is a multi-select list with the possible values of: 0-5:5-10:10-15:15-20:20-25
    As you know I have to parse and convert these strings to a usable format for the WHERE clause.
    The first parseing:
    xmltable (trim ('''' || replace (:P29_PURCHASE_AMT, ':', ''',''') || ''''))
    WHERE round(annual_sales,0) BETWEEN regexp_substr (column_value, '\w+')  AND
                            regexp_substr (column_value, '\w+', 1, 2)This replaces the colon with a comma and puts single quotes around the values then takes the values out and puts them into the variables of 'column_value' to be used in the BETWEEN clause.
    The next two:
          cls_code IN (trim ('''' || replace (:P29_CUST_SEG, ':', ''',''') || ''''))   AND
          drg_code IN (trim ('''' || replace (:P29_DISTANCE, ':', ''',''') || '''')) ANDThis replaces the colon with a comma and concats a single quote around the values. The conversion will be: 'A','D','I','P' and '0-5','5-10','10-15' etc.
    I know this because if you take these statements and run them against DUAL as in:
    SELECT (trim ('''' || replace ('A:D:I:P', ':', ''',''') || '''')) FROM dual;
    Result:  'A','D','I','P'The problem is that there is no data returned even though there are 10 rows in the table, jr_customers_dm_query, that contain data that satisfy the WHERE clause. If I take out all the parseing "stuff" and use actual values then the rows are returned. So there is a problem with all this parseing and I have NO idea where it is!!
    I really need some help! Then I get to try the processing problem! And I'm very going to be needing help with that!
    Thanks,
    Joe

  • Zero records returned in doc search using  ctxsys.context with datastore COMMON_DIR

    I do this and get 0 records returned - help:
    begin
    ctx_ddl.create_preference('COMMON_DIR','FILE_DATASTORE');
    ctx_ddl.set_attribute('COMMON_DIR','PATH','/mydocs');
    end;
    create table mytable(id number primary key,
    docs varchar2(2000))TABLESPACE USERS;
    insert into mytable values(111555,'first.txt');
    commit;
    -- check that the document "first" exist
    -- and it has the word "design"
    ed \mydocs\first.txt
    create index myindex on mytable(docs)
    indextype is ctxsys.context
    parameters ('datastore COMMON_DIR');
    select id from mytable where contains(docs,'design')>0;

    Sorry use this:
    select * from CTX_USER_INDEX_ERRORS;
    Am I replying in the right place??
    This is my first time using this thing... Yes, but there is also a special Oracle Text forum, please use
    this the next time.
    Thomas

  • How to find lasts query and his results(number of record returned)

    Hi all,
    sorry for my english.
    My scenario: i have 3 select below....
    first select: select 1 from dual;
    second select select 1 from dualXXXX; (this table/view/synonym, etc,etc NOT exists in DB)
    third select select 1 from dual where 0=1;
    my question is:
    how and where i can find (in system table for example) the latest query and the right or wrong excecution?
    I.E. for the first query the results is OK (with 1 record returned)
    for the second query the results is KO (the table not exists)
    for third query the results is OK( but whit 0 record returned).
    There is this information stored somewhere?
    Thanks a lot
    Attilio

    Properly executed queries details will be found in below dynamic views :
    V$SQL,V$SQLAREA
    SELECT
         sql_text,
         ROWS_PROCESSED,
         LAST_ACTIVE_TIME
    FROM
         V$SQLAREA
    WHERE
         regexp_like(SQL_TEXT,'1 from dual');Not aware about the queries which did not get executed properly.

  • Showing 'potential' records returned

    Hi
    I'm wondering what is the most efficient way to show the number of records available when a link is clicked on. eg.
    Hotels (32)
    Lodges (12)
    Camping (1)
    As you can see from this link
    http://www.iknow-yorkshire.co.uk/north_yorkshire/pickering/all_prices/guest_houses/eco_fri endly/
    they actually disable links where no records are available. This seems quite complex - they dim/disable links for a variety of categories where a click would render no results.
    My question is this: What is the most efficient way of achieving this - query of queries? stored procedures? neither?
    Thanks
    Shaggy

    Thanks
    There are so many variables though and permutations, I will have to run quite an extensive query for each link - won't the overhead be very high?
    Thinking about the link provided - would it be less overhead to store the number of records available in the database.
    So for example, everytime a page is visited it stores the url and the count of the number of records returned in a separate table. Then we retrieve this value through a quick query for each link? is this any better than the solutions provided in terms of efficiency? or is left join count still the way to go?

Maybe you are looking for

  • Apply conditional formatting for a textbox in a matrix that contains an expression

    I have a matrix that contains one row, and one of the columns in this row (a field ) contains an expression. I know this field is "Textbox24" but anyway, I have created a placeholder for this field and in Placeholder Properties I have given the label

  • Acting Up Action

    Hi , Can somebody tell me about acting up action. What will be infotypes to be maintained. secondly i have a confusion which i tried to solve through sdn threads but yet not mu ch clear that during organisational re assignment is it neccessary for pe

  • Advanced setting for all users in a Citrix environment

    I would like to disable the Advanced option "Allow editing directly in cells" for Excel 2010.  It is used in a Xenapp (Citrix ) environment using upm or roaming profiles.  How can i avoid having each user make this setting wich is then saved to his p

  • Querying unjoined tables

    Hi, In my physical layer, I have five tables. Here's how they are joined: Table A-->Table B-->Table C-->Table D-->Table E In the BMM layer, I have 3 Logical Tables 1 Fact Table. Logical Table A --> Fact. Columns from Table B and Table C are mapped to

  • Cannot delete service pack in import queue

    Hi all, we restored our system and I want to apply some patches now. In SPAM I get an error that the queue is not empty. I checked STMS and found a support package stuck in the import queue which we tried to upload before we restored the system. I tr