Setting the maximum number of rows in a ResultSet

Hi everybody,
Anyone knows if it is possible to set the maximum number of rows to obtain in a ResultSet using JDBC 2.0, and if so, how to do it?
Thanks in advance.

Statement st = con.createStatement();
st.setFetchSize(no_of_rows_here);
ResultSet rs = st.executeQuery(query);Sudha

Similar Messages

  • How can I set the maximum number of restarts for my PDF files?

    I want sent my PDF to a friend,but I just allow him see it only twice.
    How can I set the maximum number of restarts for my PDF files?
    My software edition is Acrobat X

    In the old days when PDFs were only opened on desktops and only in Acrobat or Reader, scripting could fake security features and people were generally convinced. As there are so many ways to open a PDF without scripts ever being run (from mobile devices to in-browser display, or simply opening the file in Illustrator), none of that works anymore.

  • How to set the Maximum Number of the retry interval in sender cc?

    Hi,gurus:
    You know about how to set the Maximum Number of the retry interval of receiver communication channel in RWB.
    But how to set the one of the sender communication channel?
    Can we set that in integration directory?
    Any help will be appreciated.

    Hi,
    Check this blog, For the settings to be done at SXMB_ADMIN Tuning(IS_Retry_Limit )and the VA
    XI :  How to Re-Process failed XI Messages Automatically
    Also in VA change both inbound and outbound retries. For max no. of retry interval change the default value 300000(5 mins) to 600000(10 mins) or whatever you want.
    Thanks!
    Edited by: Sudhir Tiwari on Dec 16, 2008 7:33 AM

  • What is the maximum number of row for a table control in LabWindows/CVI ?

    I use LabWindows CVI 8.5.1 (MMI first developped in version 6.0).
    In one of our many MMI, a table control contains a list of aircraft parameters.
    We can add as many parameters (row) as we want but over 40 000 we observe a crash of the LabWindows CVI runtime.
    Our client want to inscrease the number of parameters (row) up to 200 000 !!!
    So my questions are:
    What is the real maximum number of row for the table control ?
    Is this maximum number of row different on LabWindows 2010 version ?
    Or is there an other solution ?
    Thanks

    Greetings,
    Can you clarify what you mean by "crash"? Is there an error message thrown? Is it possible that you've consumed all of the available memory?
    Please let me know.
    Thanks, James Duvall
    Product Support Engineer
    National Instruments

  • What is the maximum number of rows in version 3.5.3

    I am using Numbers v3.5.3 in Yosemite.
    I need to copy/paste from a .txt file 1,085,300 lines of information.
    Numbers will only accept !65,000 lines.
    Is there a limit by default?  Can that be extended?
    Thank you.

    Hi Wayne - you have been very helpful; thank you.
    I work at a film / tv post production facility.  We use Outlook365 and the Sharepoint feature to share Word Docs and Excel Spreadsheets virtually.  I use the Excel functionality in Sharepoint so that we can track media we copy to our StorNext SAN volumes as well as the multiple LTFS and Tar Per Shot LTO5s we write for both our clients and as internal data backups.  Managing the media is beyond critical as TV and Feature studios require the utmost care of their OCF (original camera footage) and dailies / editorial media.
    Of the many toolsets we use to edit and color shows and feature films is the AutoDesk platform (think Flame, Inferno, Smoke).  The application toolset writes over 20TBs of data to our SAN volumes and the way it writes the data is unique to the application. If you tried to look at via a Mac Finder or Windows Explorer, the hex values in the filenames would not make sense. We cannot associate those hex names with actual human readable project names.
    One of my engineers used the AutoDesk app to spit out a 1 million line plus text file with human readable names of every project, file type and file path.
    What I am trying to do is suck all of that data into a spreadsheet that I can upload to Sharepoint (or paste directly into Sharepoint).  When I try to copy/paste on my Mac Mini directly into a Sharepoint page, both Safari and Firefox go into a spinning beach ball of death.  Time stops; photons of light are bent towards the event horizon; you get the picture.
    Since Numbers won't accept more than 65,000 lines, I need a way to get that data into a spreadsheet.
    I have downloaded LibreOffice and will give that a try. 
    Knowing what you do now, might you have any other suggestions?
    Thank you again.
    Scott

  • BEx Variable Input Help (F4) Maximum Number of Rows

    Hi Experts,
    We using Bex 3.x version. Now, the user is asking to change the maximum number of rows (by default 500, for my case) to 1000. (While executing the workbook, on the variable pop-up screen where we can search for input help (F4) values). For surely, there is some global setting needs to be corrected but not sure. I have checked in T-code: SPRO and some of the threads but not get the apt solution.
    Could you please share us your inputs/experiences as how can we increase maximum number of rows in the input help.
    Many thanks in advance!!!
    Best Regards
    Venkat...

    Hello Venkat,
    Is there is a way to setup that, you will find into this KBA Article (SAP Note):
    > 1565809 - Settings for BW query F4 help   
    This is a really good documentation about how F4 works and how to setup the configurations and where you have to do that.
    Kind Regards,
    Edward John

  • Changing Maximum Number of Rows Per Page to Include

    I am trying to change the "Maximum Number of Rows Per Page to Include" using Enterprise Manager > Coreapplication > Capacity Management > Performance.
    It was default to 75. I need to change it to around 5,000. I have a report which generates 5,000 records and I use Agent to send it to our user at a scheduled time.
    I change 75 to 5000, activate the changes and restart the BI. After restarting it automatically reverts back to 75.
    Has anyone experienced this?
    My instanceconfig has contains this:
    <Views>
    <Pivot>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control-->
    <DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control-->
    <DefaultRowsDisplayedInDownload>5000000</DefaultRowsDisplayedInDownload>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control-->
    <DisableAutoPreview>false</DisableAutoPreview>
    <MaxCells>1920000</MaxCells>
    <MaxVisiblePages>2500</MaxVisiblePages>
    <MaxVisibleRows>1000000</MaxVisibleRows>
    <MaxVisibleSections>5000</MaxVisibleSections>
    </Pivot>
    <Table>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control-->
    <DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control-->
    <DefaultRowsDisplayedInDownload>5000000</DefaultRowsDisplayedInDownload>
    <MaxCells>1920000</MaxCells>
    <MaxVisiblePages>2500</MaxVisiblePages>
    <MaxVisibleRows>1000000</MaxVisibleRows>
    <MaxVisibleSections>2000000</MaxVisibleSections>
    </Table>
    </Views>
    Any help would be greatly appreciated.
    Thanks!

    Hi,
    Editing in EM should change the settings. Stop all the services and restart
    In the individual reports for tables and pivot tables >> Edit the table properties and add the number of 'Rows Per Page'
    Hope this helped/ answered
    Regards
    MuRam

  • What is the maximum number of Active Connection in SSG 7206VXR?

    Hi,
    What is the maximum number of SSG Host or active connection (show ssg service package) for Cisco 7206VXR which running with NPE-G1? The SSG is deploying with Web-login and the TCP-Redirect, Port-bundle and Pass-through is enabling. The SSG is to handling IP session authentication. The SSG is binding Gigabit Ethernet.
    The current version of IOS is show as below.
    Cisco IOS Software, 7200 Software (C7200-ADVIPSERVICESK9-M), Version 12.4(9)T1, RELEASE SOFTWARE (fc2)
    Thanks,
    Chia

    To set the maximum number of services per user, use the ssg maxservice command in global configuration mode. To reset the maximum number of services per user to the default, use the no form of this command. ssg maxservice number and no ssg maxservice
    If you want to know more please click following URL:
    http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_command_reference_chapter09186a008017cf59.html

  • I bought a used iPod touch and when I try to set up my iCloud account, it says that the maximum number of free accounts have been activated on this device. Is there a way around this?

    I bought a used iPod touch and when I try to set up my iCloud account, it says that the maximum number of free accounts have been activated on this device. Is there a way around this? I thought I could maybe set up the account on my PC and go from there, but it won't let me do that. It is forcing me to set up on the iPod. Am I doomed to have no iCloud account because I opted for a used device?

    See this previous discussion.
    icloud: The maximum number of free...: Apple Support Communities

  • HT5622 "The maximum number of free accounts have been activated on this iphone" message is received when I try to set up iCloud.  How can I overcome this problem please?

    I tried to set up icloud on my iphone 4 and I get this message that "the maximum number of free accounts have  been activated on this iphone".  My iphone was used by someone else before I got it.  How do I deactivate these accounts or overcome this problem?

    You were trying to create a new Apple ID for icloud.  But once the device reaches is max allowed to create IDs then you can't create more.  That's your situation now.  To create a new account you must use another device or computer.
    You can't deactivate or turn back the clock.

  • Total rowsize for table exceeds the maximum number of bytes per row (8060).

    I am trying to Creat a UserDefined Field in Marketig document OPOR Table through the script. then the warning  "Total rowsize for table exceeds the maximum number of bytes per row (8060). " is occuring ,and transcation rollback. how can i solve the problem.

    You have three ways to deal with this:
    1) make you user field smaller.
    2) check all other UDF in that table, and if you find one that your not using, delte it.
    3) Somebody told me that SQL Server 2005 will not have this problem. Maybe you can migrate.
    Best regards
    Harold Gómez V.

  • TS4036 I am trying to back up my Ipod and I keep getting a messages that says" the maximum number of free accounts have been activated on this Ipod touch" I only have one account set up. What do I need to do?

    I keep getting a messages that says" the maximum number of free accounts have been activated on this Ipod touch" I only have one account set up. What do I need to do?
    Thank you

    Welcome to the Apple Community.
    You should only get that message when you are trying to create a new account.
    Unfortunately once all the 3 iCloud accounts have been created on your mobile device, you cannot create any more regardless of what you do. You will need to re-use one of the accounts that you have already created or create your new account on another device or computer.

  • How to set up the maximum number of messages on a queue programmatically

    Hi,
    I am using IMQ 3.5 to implement a message layer for one of my projects. I created a "Job Status Queue", which receives job status report from a java application every minute. But I just want to keep the most current status report instead of all the job running history. How can I restrict the maximum number of messages to 1 programmatically?
    Any suggestion or help will be appreciated.
    Xiaoyun Tang

    You can't limit the destination size programmatically, but you can do it administratively and associate a behavior to occur when the limit is reached. In your case it sounds like you want a queue, 1 message deep, and to discard the oldest message when the queue is full. When you create the physical queue on the broker you can specify these attributes (you can also update them on an existing queue). For example:
    imqcmd create dst -t q -n StatusQ -o maxNumMsgs=1 -o limitBehavior=REMOVE_OLDESTFor more information see Chapter 6 of the Message Queue Administration Guide. In particular the "Managing Destinations" section:
    http://docs.sun.com/app/docs/coll/MessageQueue_35_SP1
    Joe

  • Why I see this message ''The maximum number of free accounts have been activated on this iPad'' when I want to set up my account on iCloud?

    When I try to sign in with my Apple ID (that I use with AppStore) to iCloud on my iPad2,
    I see this message:
    ''The maximum number of free accounts have been activated on this iPad''.
    So what shall I do?

    Welcome to the Apple Community.
    Unfortunately once all the 3 iCloud accounts have been created on your mobile device, you cannot create any more regardless of what you do. You will need to re-use one of the accounts that you have already created or create your new account on another device or computer.

  • Set the maximum length of textedit element in webdynpro

    Hi All,
      How to set the maximum length of texedit element to a some constant characters.setting col and row property to 10 and 2 didnot set max length to 40.setting width and height also didnt helped to limit the characters user can enter to 20.
    Thanks,
    pkv

    >
    pkv wrote:
    > Hi All,
    >
    >   How to set the maximum length of texedit element to a some constant characters.setting col and row property to 10 and 2 didnot set max length to 40.setting width and height also didnt helped to limit the characters user can enter to 20.
    >
    > Thanks,
    > pkv
    Hi,
    Setting row and height is for layout purposes and not for the limiting of text in a TextEdit UI Element.
    To ensure that the Text Exit has only 40 characters in 04s - you can do as Alka has suggested.
    For doing the same in CE 7.1 - you can use the onChange Action and write code inside that method to limit the number of characters.
    I would suggest that you use IWDMessageManager to show a message in the MessageTray whenever the user goes over the limit of 40 characters - rather than accept the whole text and then show some sort of popup.
    Thanks.
    p256960

Maybe you are looking for

  • User Error message keeps appearing when trying to download itunes V7

    Hiya, Just brought a brand spanking new Ipod Video 30gb. As there is no installation cd I had to go online and download itunes. However, everytime I try to download i keep getting a message as follows - "Could not open key: HKEYLOCALMACHINES\Software

  • Getting all of my iTunes library onto my external hard-drive

    Hey, I've recently noticed that my MacBook (now called a McBook pro?) is running slightly slower than usual. I have the majority of my music stored on an external hard-drive, but anything that I've downloaded looks to be stored on my MacBook's intern

  • Power4 vs Intel Woodcrest & Clovertown

    Does anyone know how the Power4 chip (currently in G5's) compares specs-wise, with Intels Woodcrest (dual-core) or Clovertown (quad-core). Thanks for the info! Content edited by an Apple Discussions Host

  • How to create the groups in OID Using Java API.

    Hi, I need to create the group in OID Using Java API's only(i.e., javax.naming.* only). I need to achieve it without using any oracle specific jars. Is there any way to achieve it?.If there's a option to achieve it,do let me know. I also need to crea

  • IMac slow

    Since I changed the video card after a failure, my iMac (24" early 2008) is running slow and it can't dowload properly (very slow and stop before ending). Can't even download the last Apple update. There is no problem with internet connection and I c