How to restrict data that is displayed  in adf query

Hi all,
i have a VO with query criteria, which i have added to the jsf page as adf query panel with table. There may be particular queires that return large number of records. Suppose i want to restrict the number of records being displayed to 10,000. Is this possible with jdeveloper 11g? How can it be done? pls advice.
Thnx,
Nad

Hi Nad
You can do this, open the VO Editor go to sql statement option add this code inside the where clause:
and rownum <= 10000 -- limit your query.
Good Luck

Similar Messages

  • How to restrict number of rows display using ig:gridView

    Hi
    All
    How to restrict number of rows display using <ig:gridView datasource="{mybean.mylist}">
    i am getting 10 rows using data_row . i wanna show only first 5 rows .
    pageSize ="5" will be ok . but it displays remaining rows in next page. but i want to display only first 5 rows . is there any attribute to restrict number of rows.
    thanks
    rambhapuri

    I have no idea which component you're talking about. If want to discuss here about a non-Sun JSF component, then please mention about the name, version and build in detail. You can also consider posting this question at the website/forum/mailinglist of the component manfacturer rather than here. At least I can tell you that the Sun JSF h:dataTable has the 'rows' attribute for that. I can also suggest you to just take a look in the TLD documentation of the component in question. There should be all possible attributes listed with a detailed explanation about the behaviour.

  • How to restrict data by using a variable in webi

    Hi Gurus,
    My users need to see only previous day data when they open the webi but should have ability to view older data later.
    How can I do that?
    I tried =MAX(Day([Creation Date]) In Report)
    But its not giving me right results.
    Any suggestions?
    Regards
    Aj

    Sorry..for late response.
    Answers to your questions:-
    Previous day to current date.
    I tried to follow steps given in the following link but failed as we have Teradata as data source and I dont know how to write a syntax for teradata similar to what is explained by Dave.
    http://www.dagira.com/2007/08/22/dynamic-dates-part-i-yesterday-and-today/
    Regards

  • How to restrict data in reports for different users...

    i created a monthly_sales report on XYZ_SALES_FACT table
    i have to give restriction on reports based on the users.
    i.e. user_1 will access only NORTH region sales info on monthly_sales report
    user_2 will access only SOUTH region sales info on monthly_sales report etc.
    Note: my client is not agreeing to create multiple reports based on the user/region.
    how i have to give user restriction on report based on the users?

    Hi,
    You can create a VPD policy and then create a login trigger and pass SSO client_indentifier or database session_user (use if/then/else to protect both)
    You can check here for the VPD/login trigger.
    Disco Config Guide
    http://download.oracle.com/docs/html/B13918_03/security2.htm#sthref1002
    OTN articles
    http://www.oracle.com/technology/obe/10gr2_db_vmware/security/vpd/vpd.htm
    http://www.oracle.com/technology/oramag/oracle/04-mar/o24tech_security.html
    You can also use secure views, mandatory conditions in the EUL, etc.
    Some other related forums entries:
    Re: Using VPD with Oracle Discoverer without SSO
    Re: Restrict Data for a user without VPD
    May want to search, likely many others on the subject.
    Should give you a good place to start.
    Regards,
    Steve.

  • How to handle data that got from SAP by Webservice?

    Hi, Gurus.
    I am working on IFbA with ABAP and Adobe LiveCycle Designer.
    I've developed a function module in R/3 system and created webservice, connected the WSDL address to the form. The problem is how can i handle data that got from SAP by Webservice?
    It's Ok if i bind the dataconnection node to the form element, but how can i handle data without binding to the form element? I mean that how can i use the data retrieved from Webserivce in the Javascript, please give me some sample code or script method.
    Thanks.

    Hi Yang,
    If you are using Web Service, then the binding will be done automatically.
    It can't grow automatically, what else should i do to achieve this?
    1.Select the table(make sure you are not selecting subform) in Hierarchy view
    2. Under table select the Row which is having the required fileds for data
    3. In the Binding of that row, check the checkbox "Repeat Row for each item data" and under that check the Min Count which will set the default row **** to 1
    Regards,
    Sachin

  • How to format date/time in display hints?

    To those of you who know it:
    One of the attributes in a VO is of Date type. To display of the date in the format of "10/25/2009 11:45 PM", I only managed to display "10/25/2009 11:45" with only the clue of the few examples provided in display hints when doing the formatting (the format mask I use is MM/dd/yyyy hh:mm). I would appreciate it if someone could advise how to display the AM/PM part of the format mask. Or better yet, point me to a source of reference for such formattnig.
    Thanks!
    Newman

    Newman,
    As suggested by Puthanampatti, you have to use 'a' in the date pattern to display AM/PM.
    You can find date and time patterns in [SimpleDateFormat API doc|http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html] which describes more about the letters to be used for each pattern which you can also use with attribute display hints in VO.
    Sireesha

  • HT4236 I don't have a photos button on itunes. how do I get that to display?

    No photos button shows up on the menu on itunes. How can I get that button to appear so I can manage my photo syncing?

    You have to have a compatible app on your computer that can handle photos.

  • How to keep data that is in Palm Desktop

    I have more than 10 years of data in Palm Dekstop and my Palm Vx.  The Palm Vx is getting pretty shaky.  What options to I have to replace it without losing my data?
    Post relates to: Palm Vx

    You can replace the handheld with another model and when you do you will need to change the hotsync conduits to desktop overwrites handheld and then sync your data. Before you sync I would suggest the procedure below for backing up your data. This procedure will not export any categories you have setup in Palm desktop.
    The best way to preserve your data is to export the data in each component in Palm Desktop to a seperate folder on your PC.
    Create a new folder on your PC somewhere that is convenient. Name it something like Palm Desktop Data. Click on the link below and follow the instructions on that page for the export procedure.
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=28734
    Make sure you select all for the range in the export window.
    With the data saved in the folder you created, make a copy of that folder and save to a flash drive, cd-rw or external hard drive.
    Anytime you make a change in Palm Desktop, export the data that was changed to that folder and save again to the external media.
    With this process you can always import the data back into Palm Desktop anytime you have a problem with the data in Palm Desktop or if your computer/hard drive/device crashes.

  • APEX - how to restrict data

    Hi,
    I am a new bee and looking for a way to restrict data (in a report) based on user type...
    as an example, I have a billing table with customer, product and sales rep details...
    I want my sales reps to see only details where they were involved in the sales... where as, sales manager should be able to see the details associated to the sales reps who report to him/her...
    Thanks in advance

    Hi,
    This might help you
    Re: Authorization to particular group of users
    Br,Jari

  • How to recover data that are accidentally backed up with another backed up program?

    I went to sync my Iphone and itunes began to 'restore' it. After it finished restoring, I unplugged it and everything since last month has been deleted( my text messages, pictures, new contacts, etc.) It is very frustrating! how do I get that stuff back? It's really IMPORTANT!!!! PLEASE HELP!

    iTunes: About iOS backups - http://support.apple.com/kb/HT4946 - including a list of what is backed up.
    How to Restore iPhone From Backup - http://ipod.about.com/od/iphonetroubleshooting/ss/restore-iphone.htm
    Restore iPhone from older backup - https://discussions.apple.com/thread/3333725

  • How should restrict data for particular month?

    Hi Experts,
    How should retrieve data for particular month without where condition.

    Hi,
    You must be having Month Object right in your Webi?
    User will be given opportunity to Select his/her required [Month]
    Create variable as =Userresponse("Enter value for Month")same text as you are giving in the Prompt text....Name it as [UMonth]
    Go to analysis tab..Filter..Add filter...[Month]=[UMonth]
    always this report will run for the month user require

  • How to restrict number of rows returned in a query

    Hi frnds,
    I'd like to restrict number of rows returned by my query to some 10 rows. how to do that.When I try doing with the rownum<10 its giving results for a particular dept and that too some 6 rows only...btw I'm grouping my table and includes joins from many a table and am ordering the table results by a column.. How to do this..

    776317 wrote:
    Hi frnds,
    I'd like to restrict number of rows returned by my query to some 10 rows. how to do that.When I try doing with the rownum<10 its giving results for a particular dept and that too some 6 rows only...btw I'm grouping my table and includes joins from many a table and am ordering the table results by a column.. How to do this..
    TELL ME HOW MANY ROWS YOU HAVE IN TABLE?
    Because you have only *6 rows* in you column, if you less than 10 rows then it displays only containied/exist rows. nothing much
    select ename,empno from emp where rownum < 10;Thanks

  • How to restrict a list of available attributes in query navigation?

    Hi Experts,
    is there any possibility to restrict the list of characteristic's display attributes in query navigation?
    I need to secure Annual Salary from displaying in query navigation...
    Regards,
    Dorota

    Hi Dorota,
    You can provide the authorization for the object.if you do that only authorized user will be able to see that. See the below document :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b7acf2-6121-2e10-5591-eaec182d9315?QuickLink=index&overridelayout=true&50452981137364
    Regards,
    Neha.

  • Is it possible to change the number of rows to be displayed in adf query ?

    Hello,
    is it possible to change the number of rows that are displayed in an adf query similar to an adf form ?
    I need to display approx 5 rows per column instead of displaying all the fields in a single column ? Thanks.

    Thanks , how do you add in the code ,is it something like follows :
    <af:query id="qryId1" headerText="Search" disclosed="true"
                                value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                                model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
                                queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                                queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}">
                        <af:inputText value="#{bindings.PrtDesc.inputValue}" label="Desc"
                                      required="#{bindings.PrtDesc.hints.mandatory}"
                                      columns="#{bindings.PrtDesc.hints.displayWidth}"
                                      maximumLength="#{bindings.PrtDesc.hints.precision}"
                                      shortDesc="#{bindings.PrtDesc.hints.tooltip}" id="it3">
                          <f:validator binding="#{bindings.PrtDesc.validator}"/>
                        </af:inputText>
                      <af:column>
                       <af:outputtext/>
                        <af:outputtext/>
                     </af:column>
                      </af:query>

  • How to restrict data from tables in a view cluster

    Hi,
    I have 5 Z* tables, Company code is the common code in all of these.
    I have created a view cluster on these five tables.
    My requirement is to viewcluster should display the data of the user's company code.
    When i see the data in SE54 it is showing the proper data(i.e data which is related to users company code) for some of the tables.
    And displaying all company codes data for some of the tables.
    What can be the issue here ?
    Do we need to map the data from proper data displaying tables to these tables ? if so How to do that ?
    Please help on how i can solve this issue.
    Regards,
    Sunil Tata.

    Here is a small utility that can be used to copy and paste between a table and Excel.
    I have been obliged to slice the llb into small chuncks for internet technical issues. Sorry...
    CCMessage Edited by chilly charly on 04-02-2005 03:21 PM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Copy.zip ‏24 KB
    Paste.zip ‏22 KB
    CopyPaste example.zip ‏11 KB

Maybe you are looking for

  • Error while installing SAP NetWeaver Application Server, Java(TM) EE 5

    When I try to install Netweaver Web AS I get stuck with the log file saying: (Jun 8, 2007 10:26:48 PM), Install, com.sap.installshield.maxdb.maxdb_call_sdbinst, err, An error occurred and product installation failed.  Look at the log file E:\sapdb\JP

  • Order by dynamic variable

    Hello, I am trying to sort my query based on a dynamic variable p_sorton in the cursor as follows: function getMarketView2( p_event_id in ex_event.event_id%type, p_fromrow in integer, p_torow in integer, p_appTZ in char, p_calcTZ in char, p_sorton in

  • Re: Portal roles are Inconsistent

    Recently my systems are upgraded from SP 13 to SP 16. Up to now EPA is working fine with SP13. But now I imported same EPA file in SP 16 system. In some machines some roles are working but same roles are not working in another SP 16 level systems. My

  • Message count on Queues

    Hello, I am new to JMS, i am using WebLogic 8.1 SP5, any built in API is available to find message count on specific queue. That means if i pass queue name to weblogic method that should be return message count or any other way to find message count?

  • More Crashing Issues

    I posted this on September 12th, and concluded I needed a new power supply. I purchased an Enermax EG475P 470W PSU, since that seemed to be the likely conclusion of my problems. I went from my old PSU with these specs: Ultra ATX Switching 400W, Model