Can I move cursor to first record without reopen it?

I want to use the same cursor in my stored procedure
for many times, but it is time expensive to open this
cursor. So can I move the cursor to the first record
when it come to the last without close and reopen this
cursor?

You could read your data at once into a collection and then process the collection afterwards as you like:
For an example see
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/05_colls.htm#28373

Similar Messages

  • How can I move VMs across data centers without changing their IP addresses?

    This document is old, but I think will help you:
    http://www.sonicwall.com/downloads/VPN_with_Overlapping_Networks.pdf

    Hi All,
    We have many applications that have been developed that do not use DNS but rather static IP addresses to communicate. Moving the VMs that these applications run on to a different subnet would be a huge project. I’m looking for a service that will allow me to move VMs between sites without the need of changing their IP addresses. I’m also looking to do this without spending very much. Cisco OTV and layer 2 circuits with various ISPs will do what I need, but they can be expensive and will add complexity. I’ve also read about Aryaka and Pertino but I’m not sure if they’ll do what I want.
    Is there another option that I’m missing? 
    This topic first appeared in the Spiceworks Community

  • Finder window completely freezes my mac but I can still move cursor

    I have a 2 year old, 13 inch macbook pro with mountain lion (version 10.7.5)
    So I have had this problem for a while when I am using my macbook pro (I'm normally using final cut pro, adobe photoshop and of recently i was just on my desktop) and I go to the finder window and everything freezes except the cursor, I can move the cursor around the screen but I can't click on anything, the dock is also frozen. I leave it for a while hoping it will come back but nothing happens so normally I have to turn it off and back on again because I can't even access the restart menu. the macbook becomes completly unresponsive
    I have tried many different things to try and resolve this problem such as;
    not having too many programs open at once
    clearing some storage space
    not leaving my laptop on standby
    but nothing has worked, any suggestions?

    NEVERMIND I FOUND THEM IN iTUNES. WEIRD!

  • How can I mover cursor in y axis at MouseUp

    I'de like to move the mouse(cursor) position up in the y-axis
    (by say - 30 pixels) each time the mouse is clicked.
    Any advice would be appreciated.

    you can't control the mouse with actionscript. you can create
    a custom cursor and you can control that using actionscript.
    but it still wouldn't make sense to alter the cursor's
    position as you're describing unless you want to aggrevate
    users.

  • Recording voice-over:  Can I move or hide the recording indicator?

    I'm making podcasts of presentations I use when teaching my biochemistry course.  It seems to work well, but unfortunatley I cannot figure out how to get rid of the recording indicator in the top left of the projected image.  It sits on top of my slide content, and sometimes obscures it from the audience.  At the very least, it is a distraction, and once the level for recording is set, I don't need it for anything.
    How can I get rid of it?

    Yes, I've proven it is a bug with external sound cards/mixers. I switched to the internal audio on my MacBook Pro and the meter worked fine. I did report it, but who knows if or when it'll be corrected. Perhaps they have an issue with external devices that self-regulate the audio levels?

  • Can I move nodes in a jTree without the mouse?

    I want to move nodes in a jTree as if I was dragging and dropping but I don�t want to use the mouse. Is this possible and how.

    I want to move nodes in a jTree as if I was dragging
    and dropping but I don�t want to use the mouse. Is
    this possible and how.sure it's possible through the power of Java(tm)

  • Form Personalization - To move to the first record.

    Hi All,
    There is DO_KEY Builtin in Form Personalization.
    But it can not use "FIRST_RECORD" as argument of DO_KEY Builtin.
    And there is no parameter such like "system.first_record" can be reference.
    How to do the FIRST_RECORD by using Form Personalization only?
    (We know it may be done with custom.pll.)
    Any suggestions will be appreciated.
    Best regards,
    Zhxiang

    Hi;
    Please check below which could be helpful on your issue:
    Forms Personalization Document
    Re: Forms Personalization Document
    Re: Form Personalization
    Forms Customization
    Re: Enable Submit Button at User Level and Disable at Block Level
    Regard
    Helios

  • Can't move songs onto my iPhone without turning off match

    I have an issue where my Library hasn't been fully matched yet... so the songs I have I can't listen to or upload onto my iPhone.... any suggestions?

    You have the ability to turn iTunes Match on separately for your iTunes and your iPhone.  Turn it on for your iTunes and let it start the matching process.  Until the matching process completes, do not turn it on for your iPhone and it will continue to sync songs the normal way.

  • How can I move an event in ical to another calendar without ical resending the event invite to everyone

    I have 2 microsoft exchange calendars that I use for work. One is provided by my company, the other is provided by a customer that I do contract work for. The customer prefers to send invites to my email address provided to me by them. Which means that the invite appears on the exchange calendar provided to me by the customer.
    That's fine, but I would like for the event to appear on my work calendar so that I can get reminders on my iphone (long story short, the customer does not allow me to connect to their exchange server via my iphone due to security reasons).
    So, I go into iCal, open the event and change the calendar for the event. Unfortunately, that causes iCal to resend the invite to everyone involved in the event. This causes alot of confusion, obviously, as now everyone is wanting to know why I sent an invite for an event that is already scheduled.
    How can I move events to another calendar without iCal sending another invite to everyone?

    If you change anything in a repeating calendar entry it will give you the option of disconnecting it from the series. So may any random change, choose to not change the series.

  • I can't move files to trash

    I can't move files to the trash without the finder wanting an administrator password and then the file is immediately deleted.  This just strarted a few days ago.

    Click once on the hard drive icon - top right - and type command + i (both keys together).
    This is the bottom half of what you will see:
    1. Click the padlock and authenticate with your password.
    2. Your Name should have the Privilege to Read and Write. If it does not click on whatever is there, and change it.
    3. Click on the gear wheel and select "Apply to enclosed items".
    There will be a message, say OK, and let it continue. This will take some time.

  • Getting the first record

    I have a table containing infor about employees promotion details.Problem is that the table was so badly designed that the only way for me to know the first promotion that an employee got in that year was the way it was inserted.Hence below for Manohar ,91 was the first promotion in the year 2001 and
    for Sanohar it is 81.
    Wondering is there sql query throught which I can get hold of the first record that was inserted.
    YEAR____EMPCODE_____NAME_______POSITION
    2001______02_________Manohar________91
    2001______02_________Manohar________01
    2001______02_________Manohar________07
    2001______03_________Sasohar________81
    2001______03_________Sasohar________84
    2001______03_________Sasohar________87

    this migth be of help:
    SQL> select rowid, year, empcode, name, position
      2    from employees;
    ROWID              YEAR EM NAME       PO
    AAD8PAAAJAAAAzwAAA 2001 02 Manohar    91
    AAD8PAAAJAAAAzwAAB 2001 02 Manohar    01
    AAD8PAAAJAAAAzwAAC 2001 02 Manohar    07
    AAD8PAAAJAAAAzwAAD 2001 03 Sasohar    81
    AAD8PAAAJAAAAzwAAE 2001 03 Sasohar    84
    AAD8PAAAJAAAAzwAAF 2001 03 Sasohar    87
    6 rows selected.
    Elapsed: 00:00:00.00
    SQL> select emp.year, emp.empcode, emp.name, emp.position,
      2         emp.promotion, rowid
      3    from (select year, empcode, name, position,
      4                 rank() over (partition by empcode order by rowid) promotion
      5            from employees) emp
      6  /
    YEAR EM NAME       PO  PROMOTION ROWID
    2001 02 Manohar    91          1 AAD8PAAAJAAAAzwAAA
    2001 02 Manohar    01          2 AAD8PAAAJAAAAzwAAB
    2001 02 Manohar    07          3 AAD8PAAAJAAAAzwAAC
    2001 03 Sasohar    81          1 AAD8PAAAJAAAAzwAAD
    2001 03 Sasohar    84          2 AAD8PAAAJAAAAzwAAE
    2001 03 Sasohar    87          3 AAD8PAAAJAAAAzwAAF
    6 rows selected.
    Elapsed: 00:00:00.00
    SQL> note: you can use the rowid to identify which row has been inserted first. if this is something that you want to get the first row that was inserted.

  • Why can't I move downloads to flash drive  without "don't have permission" message

    I continue to get this message when I go to the files I downloaded onto the computer and drag them to the flash drive,
    "The operation can’t be completed because you don’t have permission to access some of the items."
    I can move the files anywhere on the computer but can't move to an external source. I also get a similar message when trying to delete recycle bin. I have only had my macbook for two weeks and I'm not very happy with some of the stupid obstacles I am dealing with. I have went into the permissions for everything that gives me trouble and they all say read and write so I would think I should be able to maneuver around my laptop that I just spent over a grand on without any trouble.
    I haven't tried saving work to an external hard drive because I always email my work to myself to this is the first problem that I can think of involving different sources connected to the computer.  But I have so far used the mac for the internet and to type some papers so I'm not sure what other problems I will encounter.

    How is the flash drive formatted?  NTFS?  HFS?

  • I can't have my own personal data without a judge seeing it first!

    I have been a Verizon customer since October of 2009. For the most part, I've enjoyed your services. You have extremely helpful customer service representatives both at your stores and through your call center. I didn't even mind when you took away unlimited data. Okay, I did a little but not enough to make me want to discontinue my service with you. Until today. I called your customer service line about 3 weeks ago to request copies of the last 12 months of text detail for my account. I was adamant with the customer service rep that I needed the text detail. Imagine my dissapointment when I received only my call logs. I then placed another call to your customer service department to find out what happened. The second customer service rep, much like the first, hadn't been told that customers could no longer access any text details beyond three months. She placed me on hold and spoke to the legal department. Upon returning she informed me that I would have to subpoena my own text records. Though a little offputting, it wasn't really that much trouble. I asked my attorney to contact your legal department with a subpoena which he did today. Again, imagine my dissapointment to find out that not only can I not access my own records beyond three months, I have to have them released to a judge. I don't want the courts involved in what is a private matter. My private matter. This isn't an issue of national security. No one else needs to know why I want my own text records but me. I also find it extremely disconcerting that such a large change to how you handle data storage was most likely posted in small print on one of those annoying emails that everyone receives once a month telling them what has changed in the way of privacy practices and policies that no one reads. If I had known this was coming, I would have downloaded everything before the change. Every single one of your customers should have received an email specifically for this change. And really, if you had honestly tried to let your customers know this change was coming, why did none of your customer representatives know about it? I pay for my phone, my data package and my unlimited texting every month and I have done so for almost 4 years. I should have complete access to my records without getting lawyers and courts involved. Since that isn't the case here, I will no longer be a Verizon Wireless customer after this month nor will my husband or my sister who are also on my account. I'll take my business elsewhere as I imagine several other of your customers will do as well. I see a mass exodus of customers upset that yet one more thing has been taken from them with no warning and no culpability on the part of the company they pay every month for cell phone service. I highly doubt you'll read this. But I guarantee the thousands of Verizon customers already upset with your changes will. Why do you get to decide what I can access of my personal business? And why do you get to decide that I have to share my personal information with others if I want it? I want my privacy back!

    Also you are wanting text messages. Thus another party or multiple parties have a right to voice their opinion as to whether you can have them
    Finally the most records VZW keeps of messages is between 3-10 days tops.

  • Can set the cursor in next line when user inputted one record?table control

    For Dnypro Table control
    I just know when data check error, we can set the cursor to the error field of current line.
    Now user hope that after they inputted the data of one record, he enter the [ENTER], the cursor can be set to the next new line's first field.
    I tried to use such as
    [SET CURSOR FIELD 'WA_XXXX-XXXXX' LINES 5.].
    But if no any error , the cursor will be automatically setted to the field which setted at Cursor position in Dnypro's attribution
    Can it be realized?
    Thanks.

    try to use same procedure as when you program page down:
      DATA: ITAB_LINES LIKE SY-TABIX,
            FIRST_LINE LIKE SY-TABIX,
            J LIKE SY-TABIX.
      GET CURSOR FIELD CURSOR_FIELD.       "to see what Loop is selected
      DESCRIBE TABLE IRE05 LINES ITAB_LINES.
      RE05-LINES = ITAB_LINES.
        WHEN 'P+'.
    FIRST_LINE = RE05-TOP_LINE + LOOPLINE_IRE05.
    ->      FIRST_LINE = RE05-TOP_LINE + 1.
          J = RE05-LINES - LOOPLINE_IRE05 + 1.
          IF J LE 0.
            J = 1.
          ENDIF.
          IF FIRST_LINE LE J.
            RE05-TOP_LINE = FIRST_LINE.
          ELSE.
            RE05-TOP_LINE = J.
          ENDIF.
    Edited by: Andreas Mann on Feb 28, 2008 11:46 AM

  • Internal table - move record to first record in table

    How can a move a record already in an internal table to the first record in the table? There is no appropriate sort that would make it the first record.

    Assuming the record is in the header:
    delete itab.
    insert itab index 1.
    That should be - assuming sy-index already points to the record you want to move.
    Rob
    Message was edited by: Rob Burbank

Maybe you are looking for

  • Calling a web service from a servlet via stub: java.lang.reflect.Invocation

    Hi all, I'm developping my first web application using Apache Tomcat and Axis, using servlets, jsp and web services. My problem is that I cannot make any call to my web service (a very simple one) because I get the following exception: <code> java.la

  • How to turn screen off during disk erasure using Disk Utility?

    I am trying to reset my iMac to factory setting -- ie: brand new. I have restarted my iMac using the Installation disc, and then once the iMac has started using this disc, I don't start the installation process, but rather start Disk Utility to erase

  • Product Request: Line-In Recording for Micro (or a USB Doo-D

    I think the Micro would really benefit from that level of functionality. There are two ways it might work, but I don't know the technical sides... : the headphone jack is not just a source or dread; it's also Remote-Ready. This may point to additiona

  • LG 42LH40 tv - how to hookup to home stereo receiver / speakers

    Want  to  play  my  new  LG  42LH40  thru  my  home  stereo  receiver / speakers.  There  are  only  a  few  plugs  and  I  think  I  have  tried  them  all.  Any H E L P     would  be  GREATLY  appreciated.  Thank  you ,  Roger Solved! Go to Solutio

  • Annoying: hard disc "clicking" sound, APM

    Hi. I have recently purchased a new hard disk for my MacBook4,1 - a Seagate Momentus 7200.4 (Model: ST9500420AS). I made a clean install of Mac OS X 10.6 (putting the old disc aside), everything runs fine, but there's a random clicking sound from my