Sorting query results

Hi,
Say I have 100 rows retrieved in Forms (6i) block as a result of execute_query from a table of 10 million rows
Is there any way I can re-sort these rows in the Forms result set, without going back to the database with a new 'ORDER BY' clause?
Thanks,
Arpad

Not without writing a gazillion lines of code.
That would certainly be a nice enhancement for Oracle to provide in Forms. There are just so many places people could use it. ...but don't hold your breath waiting for it.

Similar Messages

  • What's the best way to sort query results?

    Hello All,
    I have a standard CRUD UI that now needs the results sorted, based on input from the UI. What's the best way to sort results by entity fields?
    I'm familiar with the conventional Java methodology using a TreeSet and comparator. Is this the best route, does BDB JE offer more convenient or performant alternatives?
    I looked through the documentation and saw how to change the indexes, but I'm just looking to change the order in the scope of the query.
    If my application were an address book, the UI would be sortable, ascending and descending, by date added, first name, last name, etc. based on which column the user clicked on.
    Thanks in advance,
    Steven
    Harvard Children's Hospital Informatics Program

    Hi Steven,
    Using standard Java collections is probably the best approach.
    One thing that may be useful is to get a SortedMap (Primary or SecondaryIndex.sortedMap) for the case where you have an index sorted the way you want, and then copy the primary index into a TreeMap (with a comparator) for other cases. That way, you always have a SortedMap to work with, whether you're copying the index or not.
    I haven't tried this myself, just a thought.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Sort by result rows

    hi all
    In my query I got several chars: Organization, Planning Level, Date
    And 3 key figures: Planned amount, Actual Amount, Plan/Actual (calculated KF)
    My query got results by Organization on Plan/Actual KF (totals are averages).
    Now I need to sort up all Organizations by Planning accuracy, in other words I need to sort query results by Plan/Actual KF totals based on Organization Level.
    I created Condition TOP 100 % on Plan/Actual KFG with setting "Individual Chars and Char combinations" and assigning Organziation. But it seems it doesn't work.
    How can I make this work?

    Thnx, Akshay, but I already done like you said and run into some strange behaviuor.
    Than I keep it far left without Date in rows it seems ALMOST working. "Almost" because it sorts all organizations well except the last one, which is bigger then first before last, like this:
    Org PLevel KFG
    111   15      100
    112   14         90  
    109   14         65
    115   12         30
    110   13         89
    Second, it doesn't work at all than I got Date in rows (doesn't matter Organization is far left or no)...
    Edited by: Gediminas Berzanskis on May 11, 2010 1:56 PM

  • Sorting  named query result

    hi, i am using an amendment method to sort named query results, it works fine for the queries that takes no parameters , but when it comes to a parameterized named query it doesn't work, any idea?

    hi, thank you for your reply,
    1- this is the code of the amendment method:
    ReadAllQuery raq =
    (ReadAllQuery)descriptor.getDescriptorQueryManager().getQuery("findUsersByCompany");
    raq.addDescendingOrdering("name");
    2- what do you mean but how do i execute the query?
    actually i have wrapped the named query in a session bean method, and i have simply dragged the method from the data control into my web page in a readonly table, i pass the parameter in a static manner in the page definition
    3- the result is displayed, no error is showed but it's not ordered correctly
    !!!

  • Query result list sort order in the Service Manager Portal (2012).

    Hi there,
    I have a setup a user prompt for a request offering in which the values are based on a query results list.  When the user prompt is displayed in the portal the order of the items presented based on my query results list is in reverse
    alphabetical order (Z to A) instead of traditional A to Z.  I can clicked the column header to toggle the sort order, however having to do this is slightly annoying.
    My query results list is based on returning the Department field of a specific criteria of template AD user accounts (which are imported into the CMDB via the AD Connector).
    Where and how is the sort order defined?
    Thanks
    Bryan

    Hi Bryan,
    After a quick test I can see the query results is in a descending order based on the first display column of the query results configuration. In the Request offering wizard I don't see an option for sorting. I don't think it is possible to configure this
    out of the box. 
    But maybe it is possible from a Self Service Portal rendering point of view. Maybe there is a key for it in the settings.xml just like the maximum of query results:
    http://blogs.technet.com/b/servicemanager/archive/2011/11/08/advanced-query-results-customization-for-request-offerings.aspx
    If this is possible I'm also curious to know how! :)
    - Dennis

  • How can I architect my data layer to yield query result pages to the application as SQL Server prepares them?

    I tried to make the question as explicit as possible.
    Refer to Sql Server Management Studio's Results view.  Depending upon the structure of the execution plan, the Results pane may begin displaying results while the query is still executing.  Can someone point me in a direction for architecting a
    data layer (I am tech and framework agnostic for this task. Any solution will suffice) that will begin receiving pages of the set before SQL Server has completed the entire query?
    The call from the data layer to SQL Server will obviously have to be asynchronous, but is there any additional ceremony that I need to be aware of when issuing OPTION (FAST x) to the query optimizer?

    Thanks for the reply. (I actually meant to put this in the SQL Data Access forum, not the T-SQL forum)
    "Generally the last step is ORDER BY in a
    query, so nothing can start before that executes."
    I would imagine you cannot ORDER BY and yield results as they are fetched because of the execution plan that would be generated.  For the purposes of this post, please assume that sorting will be done purely client side
    "Can you post your query?"
     For purposes of discussion, let's assume that the query is
    select *
    from information_schema.columns
    and also assume that you have "lots" of columns to display.
    This was an exploratory question to see what would be necessary to replicate the behavior of Management Studio's Query Result view in a custom application. 
    I would imagine that there's going to be a lot of analysis of the execution plans that get generated in order for the OPTION (FAST x) optimizer hint to do any good, but apart from general tuning concerns that would allow SQL SERVER to yield a page of data
    "fast", I was wondering if there was anything else required of the calling client to force it to yield return its first page.
    After thinking about this (and phrasing it the way I did in the last sentence) perhaps this is the incorrect forum for this question.  I imagine that my concerns are better addressed in forums dedicated to the technology of the calling client (which
    would be a .NET assembly)
    Be that as it may, if there is any ceremony that SQL Server imposes on clients in order to yield return, I would expect that my question would be in the scope of SQL Server discussions (even though I intended this to be in a different SQL Server forum)

  • Sorting the results returned by a Ref cursor

    Hi All,
    I have a scenario where i am asked to sort results returned by a ref cursor.
    I have to pass the column to be sorted as the Input parameter to a stored procedure. I tried using 'order by sorting_parameter' in the ref cursor's select query, but it is not sorting the results. It is not throwing any error even.
    Please help.
    Many Thanks...

    Hi
    i came across the below reply for a thread with the similar query as above.
    <<
    Justin Cave
    Posts: 10,696
    From: Michigan, USA
    Registered: 10/11/99
    Re: sort data in ref cursor
    Posted: Feb 3, 2005 10:30 AM in response to: [email protected] Reply
    No. You could sort the data in the SQL statement from which the REF CURSOR was created, but once you have a REF CURSOR, you cannot do anything but fetch from it.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC
    >>
    So, the results from a ref cursor cant be sorted?? There is no way out?
    Kindly advise.

  • Create a CF Query Result Set in Java

    I'd like to programatically build a ColdFusion query resultset inside of a Java class and return it to the calling application.  See the Java psudocode below to see what I'm talking about:
    public class MyClass {
         public coldfusion.sql.QueryTable getQuery() {
              // Create a query table object
              QueryTable myTable = ..?
              // Loop through some set of instance data for my class
              for(int c = 0; c < this.myWigets.length; c++) {
                   int row = c+1;
                   myTable.setField(row, nameCol, this.myWigets[c].name);
                   myTable.setField(row, colorCol, this.myWigets[c].color);
              return myTable;
    I've had stuff like this partially working in the past but had issues with things like query of queries and such probably due to the hacks used to create the QueryTable object.  I'm mainly just checking in to see if there has been any progress made in this area.  To me this seems like such an obvious thing for a Java developer working within CF to want to do.  I'm surprised Adobe doesn't have an officially supported API for doing this sort of thing (or maybe I'm just too dumb to find it.)    A few other notes... I'm not using CFX, and I'm not starting with a java.sql.ResultSet otherwise I would use the QueryTable(java.sql.ResultSet) constructor.  I need to build this thing from scratch programatically.
    Thanks for your time.  I hope this question makes sense to someone out there.
    - Mike

    I appologize.  I wasn't very clear with my original question.
    I'm creating an instance of my Java class from within CF using createObject("java", "com.example.MyClass").  So based on the sample code in my original post on the CF side I'd like to do something like this:
    <cfscript>
         myObj = createObject("java", "com.example.MyClass");
         myObj.doSomeStuff();
         myCFQuery = myObj.getQuery();  // Return a CF query from my java class
    </cfscript>
    ... then do stuff like ...
    <cfquery name="mySortedQuery" dbtype="query">
         select     *
         from       myCFQuery
         order      by color
    </cfquery>
    I appriciate your suggestions so far.  I have other solutions working already but they are not ideal.  I was just hoping someone had a clean and as-hack-free-as-possible way of creating a ColdFusion query result set in Java and passing it back to CF.
    Thanks again,
    Mike

  • "Dead" Space before Query Results Display

    We were required to use PL/SQL to create a report within HTMLDB. The report runs fairly quickly and is displayed as desired in the window with one exception. "Dead" space is always placed on the screen before the query results. In many cases, this space is only a couple of lines. In cases where the result set is a few hundred lines, there are a few hundred lines (usually a comparable number to the result set) before the query result. Therefore, the user sees an empty screen and doesn't always know to scroll down several times to reach the output. We are looking for a means to eliminate this leading space.

    To perform the reqired sorting and add a checkbox to each section of the report, using PL/SQL embedded into the HTMLDB was the best method. Within the PL/SQL we used the htp.* commands to format the HTML. Unfortunately, this results in prgressively more empty lines before the actual report display with larger result sets.

  • Exporting BEx Query results to CSV or other files.

    Hi All,
    We have a report designed in WAD, which uses a BEx query to display department’s information. Because of amount of data in the results it crashes when u get all the Free Characters into ROWS(Error is : Result set too large(552244 cells); data retrieval restricted by configuration (maximum =500000 cells).  It is a requirement from the user to have all the free characteristics in the rows( which I can understand is not the right way to go ahead). As it is crashing when you add last characteristic(WBS Purpose)  into the rows, they aren’t able to export data into spread sheet from the results. (as there are no results)
    Now my question is…..is there any way we can export the results from BEX query into any format for example text or csv? If yes, can we schedule that process? Please note that this characteristics are displayed as hierarchies.
    Am new to SAP BW and its been only six months since I have been in this role. Any help would be much appreciated???
    I looked online and some where in the forum it was mentioned of using program RSCRM_BAPI, but looks like it needs some sort of downloads from SAP.
    Is there any other way to export the BEx query results?
    Cheers
    Sandeep

    Hello Sandeep,
    You can use the Item "Context Menu" in your WAD and in the properties by default you can see the Options:
    Export to Excel & Export to CSV will be there and also there are many options which you wanted to see.
    It works for you!!!
    With Regards,
    PJ.

  • Iterate query result - put specific rows in a collection and do output

    JDeveloper 11.1.1.3.0
    Oracle Lite: 10.2.0.1.0
    Browser: IE 7
    Hi,
    please help me in working on following requirement:
    1. Iterate the View Object Query Result
    2. Do some calculation on the Rows, lets say:
    Concatination of column1 and column2 and place it in a non database Attribute "column3"
    3. How to handle/place the non database attribute?
    4. Fetch specific rows from the query result; there should be a comparison, like checking master and detail hierachy struktur:
    Take Column1_ID (Master) check in columns2_ID (Detail), when found detail take this Row and place it in a buffer (Maybe ArrayList, or something like that)
    5. Show the Chace(ArrayList) to user, in a form of View Object, with standard functions like sorting and filtering
    Till now my process of solving the above requiremnts are:
    To Point 1:
    Created a service method in Application Implementation Class
       public void iterateEmp(){
         EmployeesVOImpl vo = getEmployeesVO1();
         while (vo.hasNext()){
          EmployeesVORowImpl row = (EmployeesVORowImpl)vo.next();
          System.out.println(row.getEmployeeId() + " | " + row.getFirstName() + " | " + row.getLastName() + " | " +  row.getEmail());   
          //row.setCalcCol(row.getFirstName() + "," + row.getLastName());
         }To point 2:
    Added an attribute to the View Object, with updateable and Queryable options. Place it on the JSPX Page.
    With setter method, filled with values, for example (non Database Attributes Name is CalcCol):
    Name:
    //see above code
    row.setCalcCol(row.getFirstName() + "," + row.getLastName());When doing so, on initial Call the values will be representated, but when sorting o filtering will be done, the values then will be erased.
    3. Added an Attribute in View Object "Attributes Panel".
    Here the XML Code of the View Object:
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="EmployeesVO"
      Version="11.1.1.56.60"
      BindingStyle="OracleName"
      CustomQuery="true"
      ComponentClass="model.EmployeesVOImpl"
      PageIterMode="Full"
      UseGlueCode="false"
      RowClass="model.EmployeesVORowImpl">
      <DesignTime>
        <Attr Name="_codeGenFlag2" Value="Access|Coll|VarAccess"/>
        <Attr Name="_isExpertMode" Value="true"/>
        <Attr Name="_isCodegen" Value="true"/>
      </DesignTime>
      <SQLQuery>
        <![CDATA[select employee_id, first_name, last_name, email from employees]]>
      </SQLQuery>
      <ViewAttribute
        Name="EmployeeId"
        IsUpdateable="false"
        IsPersistent="false"
        IsNotNull="true"
        PrecisionRule="true"
        Precision="6"
        Scale="0"
        Type="oracle.jbo.domain.Number"
        ColumnType="NUMBER"
        AliasName="EMPLOYEE_ID"
        Expression="EMPLOYEE_ID"
        SQLType="NUMERIC">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="22"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="FirstName"
        IsUpdateable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="20"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="FIRST_NAME"
        Expression="FIRST_NAME"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="20"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="LastName"
        IsUpdateable="false"
        IsPersistent="false"
        IsNotNull="true"
        PrecisionRule="true"
        Precision="25"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="LAST_NAME"
        Expression="LAST_NAME"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="25"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="Email"
        IsUpdateable="false"
        IsPersistent="false"
        IsNotNull="true"
        PrecisionRule="true"
        Precision="25"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="EMAIL"
        Expression="EMAIL"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="25"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="CalcCol"
        IsSelected="false"
        IsPersistent="false"
        PrecisionRule="true"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="VIEW_ATTR"
        SQLType="VARCHAR"/>
      <AttrArray Name="KeyAttributes">
        <Item Value="EmployeeId"/>
      </AttrArray>
    </ViewObject>To Point 4:
    There should be a specific sort order, which i have to code in ADF.
    Just to give an overview:
    Colum1 and Column2 (nothing to do with the emp table) have relationship. Several hierachies are existing in the Query Result.
    For identifying the start point of any of these hierachies, i have to iterate through the Query Result and fetch these start point
    and buffer it in an array or something like that.So in the end i have to get the same query Result but with different Sort Order.
    How to buffer theses Rows (Array?) and show in a View Object?
    Can we use the same view Object for solving that, or should we use another View Object which catches the new Result Set?
    To Point 5:
    The Result should be, as mentioned above, a View Object including new Result Set, which can provide standard behavior (sort, filter)
    I hope the requirement is defined clearly enough, so maybe you can make some suggestions on that.
    Thank you for replies.
    Edited by: user9198377 on 13.07.2011 02:52

    Hi.. You can do this without DB View. Have CalcCol transient attribute in VO. Instead of iterating VO rows and setting CalcCol attr, generate View Row Impl class. Inside getCalcCol(), write your logic. This will be called during each and every request so that transient attr data won't become null during sorting and filtering. If your VO is entity driven, do the same in Entity impl class
    Raghu
    Edited by: Raguraman on Sep 5, 2011 9:48 AM

  • Query Result pane - disabling tooltip display of LOB data

    In the query result pane of SQL Developer, if a column is too long for the display (typically, in my case, for a CLOB column) and you hover the mouse over the column data, a tooltip showing the full value appears.
    For an example, do "select sql_fulltext from v$sql where rownum < 3" and hover the mouse over one of the values in the SQL_FULLTEXT column.
    In our application we typically query a table with a large CLOB column, and the tooltip fills the whole screen. This is a pain if you just leave your mouse on the screen somewhere over a CLOB column while typing :-( I've looked for a way to switch off this tooltip, but haven't managed to find one. Can anyone point me at a way of doing so? Unfortunately, I'm running SQL Developer 2.1.1, but even a response along the lines of "you can only do this in 3.0 and later, and this is how" would be useful, as it might help me argue for an upgrade.
    Thanks,
    Paul

    Hi Paul,
    Actually versions 3.0 and 3.1 have a very nice UI (Tools | Preferences | Mouseover Popups) to control this sort of thing, but unfortunately the settings seem only applicable to the debugger.
    You might consider making a feature request for this on the SQL Developer Exchange.
    Regards,
    Gary
    SQL Developer Team

  • Query results cached?

    For a report region, is the query results cached?
    That is, is the report query being executed again
    in the following condition:
    * when a user navigate between pages of a report
    (from page 1 (1-100 of 1000 rows) to page 2 (101-200 of 1000 rows)
    * when a user clicks on the column heading to sort the report

    Ken,
    In both cases the query is executed again.
    Regards,
    Marc

  • Query results:every other record/row grey and white

    Hello guys,
    query results:every other record/row grey and white
    how would you make every other record/rows a different color
    just like the forums color. Lightest grey and white?
    <cfquery name="Myqueryname"
    datasource="#Request.MainDSN#">
    SELECT
    CompanyID,
    CompanyName,
    Address,
    City,
    State,
    ZipCode,
    Comments
    FROM
    Company
    ORDER BY
    CompanyName ASC
    </cfquery>
    <html>
    <head>
    <title>CF TUTORIALS</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
    <h1>All CO Listings</h1>
    <table>
    <tr>
    <td><b>ID</b></td>
    <td><b>Name</b></td>
    <td><b>Address</b></td>
    <td><b>City</b></td>
    <td><b>State</b></td>
    <td><b>ZIP Code</b></td>
    <td> </td>
    </tr>
    <cfoutput query="Myqueryname">
    <tr>
    <td>#CompanyID#</td>
    <td>#CompanyName#</td>
    <td>#Address#</td>
    <td>#City#</td>
    <td>#State#</td>
    <td>#ZipCode#</td>
    <td>
    <a href=" ALL Emps.cfm?CompanyID=#CompanyID#">ALL
    Emps</a>
    <a href=" AddCO Form.cfm">AddCO</a>
    <a href="
    Editco.cfm?CompanyID=#CompanyID#">Editco</a>
    <a
    href="CoDeleteForm.cfm?CompanyID=#CompanyID#">Delete</a>
    </td>
    </tr>
    </cfoutput>
    </table>
    </body>
    </html>

    There is a cool tool in Coldfusion called MOD
    This basically calculates the remainder of the row number
    when divided.
    I interpreted its use to something like this, which has
    worked for me.
    <cfoutput query="qry_requestedlist" maxrows="30"
    startrow="1">
    <cfset EvenRow=#CurrentRow# +1>
    <cfif CurrentRow Mod 2 IS 1>
    <tr>
    <th class="grey" CurrentRow#</th>
    <cfelse>
    <th class="white">#CurrentRow#</th>
    <tr>
    </cfif>
    </cfoutput>
    I doubt this is precisely what you want but this is the sort
    of thing.

  • RE: Load of query results

    Hi Patrice,
    Currently, there is little difference between the enterprise edition and
    the standard edition as you pointed out. However, over time, we expect
    to see some major differences as we add fucntionality that is more
    suited for enterprise application - caching is one of these major
    differences.
    We are staggering the release of the SE and EE versions for several
    reasons: 1) we believe the EE needs to have additional functionality to
    justify the two versions and what will be 2 different price points; 2)
    we are hopeful that the specification is finalized shortly - we feel a
    certain discomfort with releasing an "Enterprise" version based on a
    Draft specification; and 3) we are using the SE version to better
    understand the market and the needs of the EE customers. We've put out
    the EE beta to inform those interested in the EE version that one will
    be available.
    No, we do not have a reseller in France at this time although we have
    some development that takes place in Paris. We are definitely
    interested in developing business development relationships throughout
    the world to penetrate this market as efficiently as possible. Do you
    have any suggestions on resellers in France?
    Thanks for your interest.
    Neelan Choksi
    The Kodo JDO Product Team
    -----Original Message-----
    From: Patrice Thiebaud
    To: Choksi, Neelan
    Sent: 8/13/01 1:18 PM
    Subject: RE: Load of query results
    Choksi,
    Thank you for the information.
    I have the additional three following questions :
    in my understanding :.. the Enterprise Edition currently only adds the synchronization with
    the transaction manager of an application server
    .. the JDO specification also mandates the use of a JCA adapter in the
    context of a managed environment
    - are you going to provide also a JCA adapter that could use any JDBC
    driver ?
    - how come that there is such a time interval between the GA dates of SE
    and EE ?
    do you have a reseller in France ? If not, are you looking for one ?Thanks in advance.
    At 22:14 11/08/2001 -0400, you wrote:
    Hi Patrice and all,
    We are planning on releasing Kodo JDO Standard Edition in late August or
    early September. We have not determined a release date for the
    Enterprise
    Edition (likely towards the end of the year).
    Thanks,
    Neelan Choksi
    Kodo JDO Product Team
    -----Original Message-----
    From: White, Abe [ mailto:[email protected]
    <mailto:[email protected]> ]
    Sent: Friday, August 10, 2001 10:30 AM
    To: JDO-ListServ
    Subject: RE: Load of query results
    Could you please clarify exactly what you mean by an 'automatic load' of
    query results? And in what way is the 'resource manager' (db?) accessed
    for each query object returned?
    When Kodo issues a query it selects all fields of the expected result
    class that lie in the primary table used by that type (with the
    exception of LOB fields). Thus the objects returned by the query
    already have all of their data filled in that is accessible with a
    single SELECT. Additional queries are made only if you access fields of
    an object that do not lie in its primary table, such as Collections,
    arrays, Maps, and relations to other persistent objects.
    Is that what you meant?
    Whatever you mean, our goal is to implement the entire JDO
    specification, including as much optional behavior as is useful to our
    customers.
    I'll have someone from marketing get back to you with the GA schedule.
    -----Original Message-----
    From: Patrice Thiebaud
    To: [email protected]
    Sent: 8/10/01 5:08 AM
    Subject: Load of query results
    Hi,
    The final JDO specification is likely to support the need for having an
    automatic load of query results, probably through a property (thus
    answering a performance optimization need, as it is better to avoid
    futher
    access to the resource manager for each object used).
    Will the GA version provide this feature ?
    By the way, is it possible to know the scheduled date for GA ?
    Thanks in advance.
    BEA Systems : How Business Becomes E-Business
    Patrice Thiebaud - Presales Senior Consultant
    BEA Systems - France
    Tour Manhattan
    6 place de l'Iris
    92095 PARIS La D__fense C__dex
    Tel: 33 1 41 45 70 27 Mobile: 06 08 05 95 95
    BEA Systems : How Business Becomes E-Business
    Patrice Thiebaud - Presales Senior Consultant
    BEA Systems - France
    Tour Manhattan
    6 place de l'Iris
    92095 PARIS La D__fense C__dex
    Tel: 33 1 41 45 70 27 Mobile: 06 08 05 95 95

    I have tested Oracle only. Teradata has a "sample" command and I would hope that Web Intelligence would use that. The Oracle method involves the dbms_random package to assign each row a random number, then the query is sorted by that number and a limit is placed for the sample size.
    I have not written about this on my blog yet, but it could be an interesting topic. Thanks for the suggestion.

Maybe you are looking for

  • Computer will not boot up. Not even in safe mode.

    As of yesterday my Mac book pro will not start up. It will not go past the gray screen with the apple and spinning timer indicator. When I try and start up holding shift to enter safe mode it will not start up either. I have tried turning It on and o

  • How do I book mark a page in a downloaded book?

    I downloaded this book in PDF form but I cannot bookmark the last page I read so I have to constantly scroll through all the read material to try and find my place.  This is a real pain.  I cannot get the usual tool page of Adobe so I could even high

  • Documentation of process flow documents

    Hello, I've been using Visio for some time now, mainly creating process-flow diagrams.  I've always documented them with a supporting, independant Word document, detailing each of the corresponding process flow's steps.  It would be great if there wa

  • How to make a ramp for a stepper on PCI-6221

    Hello! I'm looking for a solution/example in ANSI-C to make a ramp for a stepper that is connect at PCI-6221 CTR-port. The function I'm actually using is: DAQmxErrChk (DAQmxCreateCOPulseChanFreq (taskHandle, "Dev2/ctr1", "", DAQmx_Val_Hz, DAQmx_Val_L

  • InDesign won't start

    Suddenly, the program will not start. It doesn't get as far as the splash screen. Task Manager doesn't show it under programs, but the Processes window shows InDesign.exe *32 in the list. Nothing is visible elsewhere. The rest of my CS 3 suite works