Limiting Rows

Hi,
I need to display only first 10 rows. How to do that please help.
-Amit

you can create a dashboard prompt with a LOV of number from 1 to ...
then set a presentation variable for this. say pv_selected
then in the report,
modify the filter as RCOUNT(TABLE.COLUMN)<= @{pv_selected}

Similar Messages

  • Printed Form's - Limited Rows

    Printed Forms
    Purchase Order / Repetitive Area0
    If i exceed 10 items, a second page will be created - i have a huge blank spot between the end of report and page footer - Is the repetitive area0 limited to a particular number of rows?
    Please help!
    Very frustrated

    Resutls -
    Page Footer Height = 96 / Area Height Adjustment = no
    End of Report Height= 190 / Area Height Adjustment = no   / alight to bottom = no
    Repetitive Area Footer0 Height = 0 / Display repetitive area footer on all pagers = yes /  area height adjustment = yes
    Repetitive Area0 Height = 24 / Area Height Adjustment = no / Hide repetitive area if empty = no / Duplicate Repetitive area = no / lines in repetitive area = 0 / distance to duplicate (pixles) = 0
    Repetitive Area Header0 Height = 18 / Area Height Adjustment = yes
    Start of Report - Height = 174 / Page Break = none / Area Height Adjustment = no
    Page Header height = 138 / Area Heigth Adjustment = no
    Thank you so much for all of your help!

  • Neep help regarding limiting rows

    Hi there....
    I HAVE TWO TABLES IN OUR HUMAN RESOURCE DATABASE AND THEIR STRUCTURE IS AS UNDER:
    SQL> desc personal
    Name Null? Type
    EMP_ID NOT NULL NUMBER(5)
    F_NAME VARCHAR2(20)
    L_NAME VARCHAR2(20)
    PIC LONG RAW
    FAT_NAME VARCHAR2(30)
    P_ADDRESS VARCHAR2(80)
    T_ADDRESS VARCHAR2(80)
    DOMICILE VARCHAR2(25)
    DATE_BIRTH DATE
    SQL> DESC JOB
    Name Null? Type
    EMP_ID NOT NULL NUMBER(5)
    START_DATE NOT NULL DATE
    END_DATE DATE
    OFF_ID NUMBER(5)
    CASE NOT NULL VARCHAR2(55)
    CAT_ID NUMBER(5)
    BPS NUMBER(2)
    I WANT TO WRITE A REPORT WHICH QUERIES LAST THREE PLACE OF POSTING OF THE EMPLOYEES ALONG WITH
    THE TENURE THROUGH REPORT BUILDER 2000.EMP_ID IS THE PRIMARY KEY AND THE HIGHLIGHTED FIELDS ARE USED FOR QUERY
    CAN U PLEASE HELP ME TO BE SUCCESSFUL IN THIS?
    FORMAT OF THE REQUIRED REPORT IS AS UNDER
    LAST THREE POSTING
    NAME,PRESENT_POSTING,TENURE,1ST_POSTING,TENUR
    E,2ND_POST,TENURE,3RD_POST,TENURE
    I will be thankfull for you help.
    Regards.

    If you are executing update statement from sqlplus session.
    Make sure "feedback" is turned on. It'll show numbers of rows updated just after the command;
    SQL> update tt1 set col1 = 1;
    0 rows updated.
    SQL> show feedback
    FEEDBACK ON for 1 or more rows
    SQL> set feedback off
    SQL> update tt1 set col1 = 1;
    SQL>Details about this sqlplus system setting:
    FEED[BACK] {6|n|OFF|ON}
    Display the number of records returned (when rows >= n )
    OFF (or n=0) will turn the display off
    ON will set n=1
    Regards,
    Ullhas

  • Limiting rows displayed from user-selection on dashboard prompt

    Hi,
    I'm looking for a way to limit the number of rows displayed after a user has made a selection using a dashboard prompt. Here is my scenario:
    User selects 24 periods of data using an 'In Between' dashboard prompt (i.e. Jan05-Dec06). 24 rows are returned by the query but I only want to show the last 12 rows (Jan06-Dec06).
    Motivation is that I'm using the MSUM function to display a 12-month moving sum total and I don't want to display the first 12 rows as they do not contain a complete moving sum total.
    I've looked at using a variable to store the user selection at the dashboard prompt, but the 'In Between' dashboard prompt does not allow one to store a result in a variable.
    Any suggestions are welcome!
    Thanks!

    Hi Som,
    Thanks again for your feedback. I've thought about using dynamic repository variables, but found them not to be the answer. Although the moving sum would always be a 12 month total, the user needs to be able to vary the range of periods using the dashboard prompt. Today he might only want to look back 12 months, tomorrow he may need a 5 year overview. Using dynamic repository variables would mean I'd have to create variables for the entire history i.e. CM until CM - 240 (20 years * 12 months). If a user then would like to report on a specific period, he would need to pick the correct dynamic variables, which would not be user friendly/acceptable.
    I think I may need to resolve this problem in my datamart by calculating & storing a 12 month total (the only 'fixed' requirement of the report) in my fact table. This would also remove the need for the user to select 12 months more that he would see in his report (a drawback of my original scenario above).
    Thanks again for your input!
    Regards,
    Dutch

  • Import limited rows from dmp file

    I am using oracle 10g. Due to an error, I have to skip a particular row from import. I've already imported the rows before the one to be skipped. Plz suggest how to import the remaining rows.

    user8485273 wrote:
    I am using oracle 10g. Due to an error, I have to skip a particular row from import. I've already imported the rows before the one to be skipped. Plz suggest how to import the remaining rows.Hi,welcome to this forum.
    When importing which error do you get ?

  • Limitation rows excel

    Hi all,
    It's possible to exceed the limit of 65536 rows by VBA code?
    Thank you
    Gianmarco

    This limit is due to Excel, not to BW.
    On the other hand, consider the readibility of a report which contains more than 65000 lines ... I would say BW is not the good tool, or the report is not well defined by the user.
    It's usually the case when you migrate from an "old" reporting tool to a new one : People do want to have the same report as the previous, instead of rethinking the analysis.

  • Rows not Limiting correctly.

    Hi,
    I have an invoice that I have created as an .rtf.
    I used this in my template:
    <?for-each:G_LINES[position()<10]?>
    It has about 20 some or more rows on the one page. Can anyone offer any advice. I have search through the Forum for limiting rows and read through many of the posts.
    Thanks,
    Jess

    Vetri,
    I ended up getting the issue of the rows resolved. Curious do you have a sample with the usage of more than one footer?
    For instance: one footer is used on all pages until the last page which displays a different header?
    Let me know.
    Thanks,
    Jessica

  • Web Form :Number of rows and columns

    Hi All,
    I have a web form with many rows and columns . Is it possible for a user to view only a limited rows in the form ?  Not using Adhoc/Analyze option . since there are formula rows which wont appear in Analyze grid.
    The user want to see only 5 to 10 random rows in the form  ? How to do this ?
    Please help.

    I remember an option in 11.1 which allows users to dynamically add rows and I cannot find that in 11.1.2.2
    I think the user will have to always update the user variable to what he want to see.
    Regards
    Celvin
    http://www.orahyplabs.com
    http://docs.oracle.com/cd/E17236_01/epm.1112/planning_admin_11122300/frameset.htm?launch.html

  • Get the size of the table as per row wise.( Rows in group by clause)

    Hello,
    I am using ORACLE 11g Standard edition and RHEL 4.
    I have a situation in which i want to know the size of the limited rows of the table.
    I am moving table's rows from one table(one tablespace) to another table(another tablespace) While moving the rows I want to be sure that the size of the rows is good enough to fit in the another table's tablespace free size. So before inserting rows in another table i will check the size of rows and the free space in tablespace and perform the action as per.
    Here is the senario with example :-
    I have a table called MAIN_TAB which has a column as DATE_TIME which stores the systimestamp when the data was inserted. See the code below ...
    select * from main_tab;
    ID     VALUE DATE_TIME
    1     DATA      18-MAY-11 12.00.00.000000000 AM
    2     DATA      18-MAY-11 12.00.00.000000000 AM
    3     DATA      17-MAY-11 12.00.00.000000000 AM
    4     DATA      17-MAY-11 12.00.00.000000000 AM Now i will fire a group by date_time query to know how many rows for each systimestamp.
    select trunc(date_time),count(id)
    from MAIN_TAB
    group by trunc(date_time)
    DATE_TIME     COUNT(ID)
    17-MAY-11               2
    18-MAY-11               2So now you can see i have 2 rows for 17th and 18th May. I want to know what is the size of the data for 17th and 18th May in MB. I know how to get the size of the whole table but i want only the limited rows size as per date.
    So the question is how can i get the size of a table's 2 rows data ???
    Provide me some guidance.
    If the question is not clear to you , let me know ....
    Thanks in advance ...

    Thanks Pravan for your reply. But Its still not so usefull for me. Can you please give some clear idea about what you wanna say ??
    I fired the DBA_TABLES view for my table i.e. 'MAIN_TAB' The AGV_ROW_LEN column showed 0 but that does not mean that my table has no data it, for sure it has 4 rows in it and consists of some data . . . . .
    Please clarify what i can do to get the size of rows related to that particular date ......
    thanks.

  • Report download to power point doesn't show all records

    dear experts,
    I have a report with a tape deck below, so it shows only records 1-25. When I click download to excel, every record is downloaded (1-all rows) and this is fine. But, if I download to power point, only the records shown on the dashboard (e.g. 1-25) are downloaded into power point.
    Our quality assurance claims, that the behaviour for both download options should be the same, and not downloading to excel having every row and the power point showing limited rows.
    Is there a way to download the whole report, each row, to power point (without clicking on tapedeck to show all) ??
    Thanks in advance.
    best regards,
    Thomas

    problem solved
    modify report - results(answers) - click on printer icon (PDF and Print Control) - Print Rows - set to "All"
    regards,
    thomas

  • HtmlDataTable rendering is resulting into java.lang.OutofMemoryException

    Requirement is such that thousands or records are to be displayed in data table in single page without pagination.
    --> JSF data table while rendering consumes lots of heap memory which is throwing out of memory exception.
    --> If we renders some limited rows in data table that is getting rendered but its not releasing memory once the page is rendered.Data table is in bean in session scope ( tried it with request scope but its not making any difference.)
    --> State saving method is "Client".
    --> Cant increase heap size due to some limitations
    Anticipating solution which can help to release memory once data table is rendered or if possible consumes less heap while rendering objects.

    here we are not manipulating those rows we just display the records, and while displaying it consumes lots of heap memory ....may be internally jsf apis for data table is creating some objects.......
    Need to have solution so that we can avoid using server memory.................i think putting that bean in application scope wont be effective...... or please provide detail description of how it will resolve our problem..... i hope u got the problem

  • Unwanted paragraph tag after text inset

    9.0p255 on XP ...  Just searched the forum for a reminder, as it's not every day I need to work with insets. A couple of posts towards the top of a long thread gave the tip of leaving a special space between the anchor for the inset and the end-of-paragraph marker; "ah, that sounds familiar!" I thought, and tried it.  Well, it may sound familiar ... but it doesn't work. Yes, I've already tried a special paragraph style with space above and below set to -2; no luck there either. All the more annoying since I'm fairly sure I did manage to do it in another file-set/on another PC last year.  Thanks in advance for any tips!

    Niels -
    I am stuck in Frame 7.0p577 on Mac (having not yet invested in emulators etc.), so what I say here may not apply to Frame 9 on Windows – but it probably does. I am very familiar with the iceberg of an issue whose tip you have encountered. As I see it, here's what's up:
    When Frame imports a text inset, it takes the end-of-flow and turns it into an end-of-paragraph (displayed with ¶ at its end, assuming you have Display Text Symbols turned on in View Options). Provided that the inset is followed by another paragraph, then all is well. However, the creation of this extra paragraph is insidious in cases where the inset lies at the end of a flow.
    First, if the inset ends a document, an extra line results; that extra line is troublesome if it pushes over a page boundary. The workaround is to increase the height of the page frame, to make room for the line without spilling onto a new page, but that's messy because the manual height adjustment needs to be adjusted again if subsequent editing changes the placement of the extra line.
    Second, it seems that the extra paragraph takes the paragraph tag – and therefore, the paragraph formatting – of the FIRST paragraph in the inset. If the first paragraph of the inset's source flow has an autonumber, then the stray paragraph after the inset will appear with ANOTHER autonumber of that style.
    Third, if an inset is placed in a table cell, the extra line causes the height of that cell to increase. In the common case that the cell then exceeds the height of other cells in the row, the height of the entire row will increase, leaving undesired space. Workarounds such as manually limiting row height are a pain.
    Fourth, if the inset is placed in a footnote, the extra line causes the footnote height of that cell to increase, leaving unwanted space between footnotes of at the bottom of the page.
    Over the years I have adopted the following technique: At the front of flows liable to be used as inset sources, I have an empty paragraph tagged BOF. I set the BOF format in both the source document and the host document to Run-In. Any autonumbering in the first functional paragraph of the source will then be prevented from being carried into the referring document. You might think that a comparable paragraph at the end of the inset source – EOF, maybe – would defeat the insidious behaviour that I describe, but too much of this and things start to fail.
    I have one or two additional ideas in case anyone who made it this far wishes to contact me directly. In fact I'd be delighted for anyone who understands any of the above to contact me!
    I would be delighted if someone at Adobe would follow-up on this, but honestly don’t expect too much.
    - Charles,
    www dot Poynton dot com

  • Product Search Using Oracle Text or By Any Other Methods using PL/SQL

    Hi All,
    I have requirement for product search using the product table which has around 5 million products. I Need to show top 100 disitnct products searched  in the following order
    1. = ProductDescription
    2. ProductDescription_%
    3. %_ProductDescription_%
    4. %_ProductDescription
    5. ProductDescription%
    6. %ProductDescription
    Where '_' is space.  If first two/three/or any criteria itslef gives me 100 records then i need not search for another patterns
    Table Structure Is as follows
    Create Table Tbl_Product_Lookup
        Barcode_number                Varchar2(9),
        Product_Description Varchar2(200),
        Product_Start_Date Date,
        Product_End_Date Date,
        Product_Price Number(12,4)
    Could you please help me implementing this one ? SLA for the search result is 2 seconds
    Thanks,
    Varun

    You could use an Oracle Text context index with a wordlist to speed up substring searches and return all rows that match any of your criteria, combined with a case statement to provide a ranking that can be ordered by within an inner query, then use rownum to limit the rows in an outer query.  You could also use the first_rows(n) hint to speed up the return of limited rows.  Please see the demonstration below.  If you decide to use Oracle Text, you may want to ask further questions in the Oracle Text sub-forum on this forum or space or whatever they call it now.
    SCOTT@orcl_11gR2> -- table:
    SCOTT@orcl_11gR2> Create Table Tbl_Product_Lookup
      2    (
      3       Barcode_number       Varchar2(9),
      4       Product_Description  Varchar2(200),
      5       Product_Start_Date   Date,
      6       Product_End_Date     Date,
      7       Product_Price          Number(12,4)
      8    )
      9  /
    Table created.
    SCOTT@orcl_11gR2> -- sample data:
    SCOTT@orcl_11gR2> insert all
      2  into tbl_product_lookup (product_description) values ('test product')
      3  into tbl_product_lookup (product_description) values ('test product and more')
      4  into tbl_product_lookup (product_description) values ('another test product and more')
      5  into tbl_product_lookup (product_description) values ('another test product')
      6  into tbl_product_lookup (product_description) values ('test products')
      7  into tbl_product_lookup (product_description) values ('selftest product')
      8  select * from dual
      9  /
    6 rows created.
    SCOTT@orcl_11gR2> insert into tbl_product_lookup (product_description) select object_name from all_objects
      2  /
    75046 rows created.
    SCOTT@orcl_11gR2> -- wordlist:
    SCOTT@orcl_11gR2> begin
      2    ctx_ddl.create_preference('mywordlist', 'BASIC_WORDLIST');
      3    ctx_ddl.set_attribute('mywordlist','PREFIX_INDEX','TRUE');
      4    ctx_ddl.set_attribute('mywordlist','PREFIX_MIN_LENGTH', '3');
      5    ctx_ddl.set_attribute('mywordlist','PREFIX_MAX_LENGTH', '4');
      6    ctx_ddl.set_attribute('mywordlist','SUBSTRING_INDEX', 'YES');
      7    ctx_ddl.set_attribute('mywordlist', 'wildcard_maxterms', 0) ;
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> -- context index that uses wordlist:
    SCOTT@orcl_11gR2> create index prod_desc_text_idx
      2  on tbl_product_lookup (product_description)
      3  indextype is ctxsys.context
      4  parameters ('wordlist mywordlist')
      5  /
    Index created.
    SCOTT@orcl_11gR2> -- gather statistics:
    SCOTT@orcl_11gR2> exec dbms_stats.gather_table_stats (user, 'TBL_PRODUCT_LOOKUP')
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> -- query:
    SCOTT@orcl_11gR2> variable productdescription varchar2(100)
    SCOTT@orcl_11gR2> exec :productdescription := 'test product'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> column product_description format a45
    SCOTT@orcl_11gR2> set autotrace on explain
    SCOTT@orcl_11gR2> set timing on
    SCOTT@orcl_11gR2> select /*+ FIRST_ROWS(100) */ *
      2  from   (select /*+ FIRST_ROWS(100) */ distinct
      3              case when product_description = :productdescription            then 1
      4               when product_description like :productdescription || ' %'       then 2
      5               when product_description like '% ' || :productdescription || ' %' then 3
      6               when product_description like '% ' || :productdescription       then 4
      7               when product_description like :productdescription || '%'       then 5
      8               when product_description like '%' || :productdescription       then 6
      9              end as ranking,
    10              product_description
    11           from   tbl_product_lookup
    12           where  contains (product_description, '%' || :productdescription || '%') > 0
    13           order  by ranking)
    14  where  rownum <= 100
    15  /
       RANKING PRODUCT_DESCRIPTION
             1 test product
             2 test product and more
             3 another test product and more
             4 another test product
             5 test products
             6 selftest product
    6 rows selected.
    Elapsed: 00:00:00.10
    Execution Plan
    Plan hash value: 459057338
    | Id  | Operation                      | Name               | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT               |                    |    38 |  3990 |    13  (16)| 00:00:01 |
    |*  1 |  COUNT STOPKEY                 |                    |       |       |            |          |
    |   2 |   VIEW                         |                    |    38 |  3990 |    13  (16)| 00:00:01 |
    |*  3 |    SORT UNIQUE STOPKEY         |                    |    38 |   988 |    12   (9)| 00:00:01 |
    |   4 |     TABLE ACCESS BY INDEX ROWID| TBL_PRODUCT_LOOKUP |    38 |   988 |    11   (0)| 00:00:01 |
    |*  5 |      DOMAIN INDEX              | PROD_DESC_TEXT_IDX |       |       |     4   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(ROWNUM<=100)
       3 - filter(ROWNUM<=100)
       5 - access("CTXSYS"."CONTAINS"("PRODUCT_DESCRIPTION",'%'||:PRODUCTDESCRIPTION||'%')>0)
    SCOTT@orcl_11gR2>

  • Viewer slow while retrieving data while changing value from a page item

    Hi, I am using 9.0.2 to create reports. My end-users are using Viewer to run these reports. Recently, we are experiencing performance problems with Viewer. We have reports with Page Item. Let say a report takes 1 min to run. After running the report if a different value is selected for a page item, it is takes another 1 min to get new data. Whereas, Desktop is not taking any additional time (noticable) for a different value for the page item. Recently, we are experiencing this problem. I thought that it was cache problem in Application server, so we restarted all the pieces in aps server. However, the problem still exists. We are using a materialized for this particular report.
    Any tips would be highly appreciated. Thanks.

    The performance differences can be attributed to the differences in product. Desktop is a client server product. A query executes and ALL data is returned to the desktop. You can manipulate that data in any way and the database is not required. Web (Plus/Viewer) only return the data needed to satisfy the query currently being viewed. If you change a page item, a database call is made to retreive additional/different data.
    In other words this is just how things work. You can alter settings in your prefs.txt file to improve performance in Viewer/Plus. Changing number of rows returned, memory settings, row fetch limits, rows per fetch all can improve/reduce performance.
    As best I know there is not a "magic" setting for these values. It is based on the server/volume of data/workbook content/ workbook layout. etc. Crosstab workbooks are much slower to return data than page -detail.

  • SQL Developer 1.5.3 Can't Import Text Files

    It is version build main-5783. When I try to import data in text files, I get this message "there are no readers registered for the txt type"; how can I get a reader?
    While SQL Developer allows excel file import, but the imported tables have their column orders reversed and excel files can only hold very limited rows. Is there a good data pump kind of like what MS SQL has that we can use?
    Thanks for your help!

    The Data Import Wizard almost froze on step one reading the file, it has only 120,000 records and not very wide, after it came back I had all the column data types specified, click on verify then finish and it ran for few minutes; when I refreshed no new table was created.
    I loaded the file to MS Access and tried to push the table through using ODBC with the Access Export Wizard; it ran for few minutes and when I refreshed in Oracle, the table was there and looked perfect.
    Off first glance Oracle's SQL Developer does not appear to be a mature product. At least it lacks the data pump that MS SQL Enterprise Manager does which is ultra fast and easy to use.
    Thanks for the help, I will use Access as a bridge then.

Maybe you are looking for

  • Lanucing a browser via JSP

    Hi, I'm trying to build a servlet\JSP that works something like this- I'm insert a word in a textbox in my jsp, it sends the word to the servlet that changes it a bit and then a browser will launch with google for example and search the word. I tried

  • Need help loading mac osx snow leopard

    i just bought mac osx snow leopard and im having trouble downloading it i have a mac osx 10.4.11 but when i put the disk in it says i need an itel based mac

  • Two Counter channels in one task ID with DAQmx?

    I am writing a program which will control the movement of a gimble on the X and Y axis with servo motors while recieving position feed back from two encoders on those axis. I am using a 6251M series card's AO to control the movement of the gimble, wh

  • Call Screen problem in a report

    Hi All, I have a report in which I am calling an ALV grid screen 1000. I select some line items and click on execute. On execution in the PAI I have called a function module which has a call screen statement inside it. This should call the screen 100

  • ADF Isn't localizing the af:inputDate into French

    Hey Guys, I've got an <af:inputDate /> and the value is displays on the screen isn't being localized into French. This is quite odd since, the error pop-up when I enter an incorrect date is being localized. Erreur: Le format de la date est incorrect.