Diff between open-close-Fetch loop and For loop

Cursor can be used in many ways. Need to know the difference between these 2 types.

(1) open - close - cursor to retrieve data
(2) because the loop open, close and then retrieves the data internally.

No need to open manually, close, exit in case of loop statements For.

Is there an any example where loop For cannot be used and open-close-Fetch must be used? Or any what performance advantage using Open-Close-Fetch instead of the loop For.

If you use a Refcursor then you can't open it with the help OF the loop. You must manually open it and process. In terms of performance, I see no advantage of using a FOR LOOP on a slider of treatment manually. But using the loop looks neat and human tend to make mistake by closing the cursor when the fact at hand, but when you allow oracle to take care of her, she does it to perfection.

Tags: Database

Similar Questions

  • Diff between orders of tar archive and archive download-SW?

    I need to update switch with file .tar. I've never done this before. I found two commands. But I'm confused what we I can run.

    Examples:

    tarball /xtract tftp://10.10.10.3/c2950-i6q4l2-tar.121-22.EA1.tar flash:

    OR

    Archive Download-sw / overwrite tftp://20.20.20.2/c3550-i5q3l2-tar.121-13.EA1.tar

    Please notify. I just want the stand-alone switch with file .tar. Should I use the tarballs or archive download-sw

    I am a still waiting for answer. please help if possible

    You have created the thread at 11:53, and you want a response within 10 seconds (for example)?  Patience.

    Difference between 'archive tar/x' and 'archive download-sw "?

    "archive tar/x" command only Nations United-blocks of IOS.  That's all that.

    'archive download-sw' unpack IOS and you can run commands in option to remove old IOS (for example), change the boot chain with force to restart the unit after no packing ends, or run a MD5 hash check of the LOCATION of the file when the package not implemented, remove OLD IOS, etc..

    It's your choice.

    Some Catalyst switch 'dislikes' him 'archive download-sw' and, in some cases, give the impression that the update of IOS is complete, even if the packaging not still occurs in the background.

  • Re: Diff between Applications Oracle 11 g and 11g rel2 rel1

    Hello

    Please guide me through a few doc. ID that can tell me the difference between rel1 rel2 11g and 11g.

    Kind regards.

    My bad, sorry!

    Please see these docs/links.

    New features Guide
    http://www.Oracle.com/pls/db112/to_toc?pathname=server.112/e22487/TOC.htm

    Oracle 11 g 2 new features
    http://bit.LY/uBjcZX

    Thank you
    Hussein

  • I usually 30 tabs open, and memory rises in an unexpected way, so that when it reaches 1.2 GB, firefox crashes. Also if, for example firefox consumes 700 MB of memory (with lots of tabs open), and if I close the tabs and let just 2 or 3 op

    I usually 30 tabs open, and memory rises in an unexpected way, so that when it reaches 1.2 GB, firefox crashes. Also if, for example firefox consumes 700 MB of memory (with lots of tabs open), and if I close the tabs and let just 2 or 3 open, the memory usage does not go down and left to the 700 MB. Thank you for your attention. Cordially, Ricardo

    ID of the Crash

    BP-765e3c37-0edc-4ED6-a4e9-7ed612100526

    See http://kb.mozillazine.org/Firefox_crashes and Firefox plant - troubleshoot and prevent assistance fixing crashes

  • How can I open the downloads window only? Or how can I close my browser and open the winodw downloads without an active download?

    I have about a year of downloads to sift through and organize. It means I have many open files that I move the files to the appropriate locations. The last thing I need is to have unnecessarily the browser open between all this mess.

    So... can I close my window of Firefox browser without the automatic reclosing also downloads window? Or better yet, is it possible to just open the downloads window and not the browser window?

    Again, I want to ONLY THE DOWNLOADS WINDOW open, not the browser window. I see that others have asked similar questions, but no one has ever proposed a solution.

    Avoid using the file > exit or the red X button. On the contrary: press Ctrl + j to display the downloads window, and then use Ctrl + w to close the last remaining tabs. The downloads window should remain open. A little luck?

  • When I close the lid and open it again, my computer freezes

    Original title: back to zero problem

    I am running Windows Vista Home Premium on a laptop ACER 5570. When I close the lid and open it again, my computer freezes. Just a black screen and nothing that it will restart. I have to close it using the power button, and when I try to launch again the computer does not start upward. I need to reboot with a Vista startup disk. What is my problem?

    Have tried to take the battery out and restart, but no go.

    Hello

    I suggest you to follow these steps and check if that helps.

    Method 1:
    Try to update the latest drivers for the graphics card and check if it helps:
    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 2:
    Try to perform the commissioning of repair and check if this may help:
    http://Windows.Microsoft.com/en-us/Windows-Vista/startup-repair-frequently-asked-questions

    It will be useful.

  • How can I close an open e-mail message and leave in the Inbox?

    How can I close an open e-mail message and leave in the Inbox?

    (Now, I can't post a message in this forum.)  My apologies if duplicates appear elsewhere.)

    I just installed Windows 7 and Windows Live Mail.  I'm used to read some messages and then close but keep in Inbox for future reference.  Now, the only options seem to be delete or save them as undesirable.

    What is a POP3 account? View | Current view. Show all Messages is checked and nothing else?

    WLMail experts hang out here.

    Windows Live Mail Forum
    http://windowslivehelp.com/forums.aspx?ProductID=15

  • What is the diff between a 32 and 64 bit, Windows version.

    Original title: is win 7 has also a 32 and 64 bit...

    1. What is the diff between a 32 and 64 bit, Windows version.

    2.i have a computer laptop 64 bit. so I install win 7 32 bit...

    3 - is the application and games from 32-bit to 64-bit media...

    1. What is the diff between a 32 and 64 bit, Windows version.
    32-bit Windows uses 32-bit programs. 64-bit Windows uses 32 and 64-bit programs.

    2.i have a computer laptop 64 bit. so I install win 7 32 bit...
    Only if you opt for a multiboot configuration.

    3 - is the application and games from 32-bit to 64-bit media...
    Yes.

  • Diff between: system.trigger_record and: system.cursor_record

    Hi, forms 6i,

    y at - it a Diff between: system.trigger_record and: system.cursor_record?

    Unlike the SYSTEM. CURSOR_ITEM and SYSTEM. TRIGGER_ITEM, who do not always have the same value

    (Form help: "within a given trigger, the value of the SYSTEM.) CURSOR_ITEM changes when the navigation takes place. This differs from the SYSTEM. TRIGGER_ITEM, which remains the same from beginning to end of the trigger. »),

    seems to this SYSTEM. TRIGGER_RECORD and SYSTEM. CURSOR_RECORD always have the same value.

    Look at this example:

    -for example ONCE - NEW - ITEM - INSTANCE

    MESSAGE (: SYSTEM.) CURSOR_ITEM); TAKE A BREAK; -shows for example ITEM2

    MESSAGE (: SYSTEM.) TRIGGER_ITEM); TAKE A BREAK; -shows for example ITEM2

    MESSAGE (: SYSTEM.) TRIGGER_RECORD); TAKE A BREAK; -indicates for example 1

    MESSAGE (: SYSTEM.) CURSOR_RECORD); TAKE A BREAK; -indicates for example 1

    NEXT_RECORD;

    MESSAGE (: SYSTEM.) CURSOR_ITEM); TAKE A BREAK; -Watch ITEM1

    MESSAGE (: SYSTEM.) TRIGGER_ITEM); TAKE A BREAK; -Watch ITEM2

    MESSAGE (: SYSTEM.) TRIGGER_RECORD); TAKE A BREAK; -Watch 2

    MESSAGE (: SYSTEM.) CURSOR_RECORD); TAKE A BREAK; -Watch 2

    Kind regards

    Zlatko

  • Diff between dialog and Document Windows?

    Hi all

    What is the Diff between dialogue and Document Windows?

    Thank you

    Window Style antonyms:

    MDI applications display a default parent, called the application window window. All other application windows are document windows or dialog windows.

    Document windows remain as part of the application window. If the user resizes the application window so that it is smaller than a document window, the document window is cropped. An operator can enlarge a document window occupies the whole workspace of the application window.

    Dialog windows are floating, and the operator can move outside the window of the application if they have been defined as mobile. They cannot be minimized, maximized, or resized by the operator.

    Valid only for a secondary window. (A root window is a document window.)

  • is it possible to fill two paths opened by the pen tool and the two paths open close the other?

    is it possible to fill two paths opened by the pen tool and the two paths open close the other?

    You should find the forum for any product it is and post your questions there.

    Here is a link to a page that provides links to all of the Adobe forums...

    The Forum links page: https://forums.adobe.com/welcome

  • Conditional action using hot and cold state to open/close toc

    I am trying to create a button that will open/close the table of contents and when you click top toggles the State of the icon/button hot/cold.  Essentially using a transparent icon of smart as a button.  When the button is clicked will open the table of contents and the icon will change to the State (hiding the cold status icon), then when you click above the table of contents again will be closed and the icons to switch back.  I have my action is defined as shown in the images below.  Any ideas would be greatly appreciated.initial state.jpginitial state else.jpg

    Have you read this: buttons in the form of rocking - Captivate 6 - Captivate blog

    Scenario 4 is what you want: have two buttons to the form and use an advanced standard action for each of them.

  • diff between Certified Expert and implementation

    Hello

    I'm new as a result of Oracle E-business, and I intend to take one of the certification of the E-Business Suite R12 to change my technology. Basically, I'm a Java developer.
    Can you please tell me the diff between Certified Expert and implementation? If I go into Oracle Application development, which of them will be useful for me to start my carrier plan?


    Thank you
    OM

    It is recommended but not essential (you need in advance before taking this exam, but even if you do not you will get the certificate it).

    Thank you
    Hussein

  • When I try to open CompuServe, which I used for several years on Firefox, a screen appears saying: this isn't a trusted site and it wont let me.

    When I try to open CompuServe, which I used for several years on Firefox, a screen appears saying: this isn't a trusted site and it wont let me.
    Here's what's on the screen that appears when I try to open CompuServe and AOL CompuServe of owner:
    ___________________________________________________________
    This connection is Untrusted
    You asked Firefox to connect safely to my.screenname.aol.com, but we cannot confirm that your connection is secure.
    Normally, when you try to connect safely, sites will present a reliable identification to prove that you're in the right place. However, the identity of this site cannot be verified.
    _____________________________________________________________

    There was a security of Firefox auto update on Friday, August 7, 2015 after which this problem started to occur. On my other computer, I use very often and on which I also use Firefox, I can easily open CompuServe.

    You allowed the information to be included in the details of your system more when you posted. Look to the right of your original post, where it is said more details of the system.

  • I select save files, but when I close the browser and open it again, he was always ask me where to save files.

    I select save files, but when I close the browser and open it again, he was always ask me where to save files. Whenever I closed and re-opened my browser it goes back to ask me where to save files.
    Help, please

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode without failure.

    If you do not keep the changes after a reboot or have problems with preferences, see:

    If you like Advanced SystemCare software that could restore some files from older versions to protect files against the changes and then check their settings or uninstall this software.

Maybe you are looking for