Extraction of lines deleted after opening, but before than fetch.

The following seems to work, but I would like to know,
If this is documented in order to be valid on 9iR2 and later versions.

This should work if I have read the guide of the concepts (Chapter 1):
«Read-consistent, as supported by Oracle...» Ensures that all data seen by a statement is consistent with what is
a single point in time and don't change during the execution of the statement"

I use using the default isolation level (read committed).
but I don't think that matters.
  function getRows return sys_refcursor is
    result   sys_refcursor;
  begin
    open result for select * from myTable where xxx;  -- xxx just means the two where
    delete myTable                        where xxx;  --     clauses are the same
           
    return result;
  end;
The function is supposed to return a few lines to the customer to deal with.
If successful, the validation client, if not lower customer prices

To be precise:
I read correcly documentation?

Yes.

Tags: Database

Similar Questions

  • After inserting a line using vo.insertRow (row), I get this line right after insertion, i.e. before committing.

    Hello

    I am facing a problem in which I want to extract a line newly entered into the database table but impossible to recover before as I have post the transaction.

    I created a VO based on an OA. I inserts a new row into the table by using vo.insertRow (row). I am able to get the data that is stored in an object by using the Get accessor methods. But I want back the newly input line, which I am unable to get that returns a null value. The line is returned only when I put the only.

    Can someone help me, how do I retrieve this record before committing?

    Concerning

    Rahul

    Hello

    Thanks for your reply. I found the solution for this.

    The new inserted row is not displayed in the database table until it is committed.

    I used the necessary line RowImpl object, and I do changes to this object in row after insertion, but before the transaction is committed.

    Thanku

  • Hi, I bought a brand new 6 s iPhone known most 16 GB from a local retailer. He convinced me to buy the demo not selling iPhone that was attached packed and said his new never used but only after opening updated iOS... Is this phone is normal?

    Hi, I recently bought a new model of more than 16 gb iPhone 6s from a known retailer. The phone wasn't demo for sale but he convinced me saying his seal all packed and quite simply not been used and do not have the phone to the ear, but that he provided separately. But now, after opening the seal that he had to upgrade the iOS and I was skeptical since, but he said its normal to update for all the phone manufacturer before the new iOS. the phone feels very well and works normally, but I feel fuzzy and would like to know if the phone is like nine normal phone or not because I paid him the money together without discount. Also the logo behind apple not incorporated that fine and feels separately. Help, please

    Is this retailer authorized Apple dealer?

  • IPhoto opens but then closes unexpectedly after 10 seconds. What can I do?

    My iPhoto opens but then it unexpectedly closes after a few seconds, I can't upload photos. What can I do about it?

    What version of iPhoto? What version of the operating system?

    Is it iPhoto and 10.8 v9.2.3? If so:

    A lot of older versions of iPhoto 11 this meet right now:

    Huxly647 discovered this fix

    1 goto /Applications/iPhoto.app/Contents/Resources

    2 delete the files 'googlemap.html' and googlesearch.html

    IPhoto no longer crashes, site does not work, but it doesn't bother me too much.

    If it is not on this version, then back with more details.

  • I opened my photos of my SDCard with File Explorer, select them all, then I select move to fill after that I saw the bar of loading with the green line. After that all my photos from my computer disappered and were removed from my SD card. Please, he

    I opened my photos of my SDCard with File Explorer, select them all, then I select move to fill after that I saw the bar of loading with the green line. After that all my photos from my computer disappered and were removed from my SD card. Help, please

    I looked everywere in my computer, but they are not found

    I bet that you have selected the folder Adobe Bridge CC or CS6, and it would be in there under Program Files/Adobe/or Program Files (x 86) / Adobe /.

    Move to... in the file Explorer apply only to records not the bridge program.

    You open Bridge and Photo Downloader allows you to move pictures from your SD card in the deck (also called import)

    Gene

  • CS6 plant after the sacking of preferences - programs opens but crashes

    Hi, there.

    I'm on a film location and really need my CS6 to work as soon as POSSIBLE! Thanks in advance.

    I was using tools and found that they would not 'loose.'  I mean, it's, say, the selection of something, then move the pointer off screen and clicking, which usually undid what I selected, no longer worked. It was just a tool, but a few other misbehaved lately as well.

    I rebooted CS6 and trashed the preferences, as I did in the past to solve problems of this kind


    Now - PS opens and the pointer is frozen for a while. When I click to open a photo, the program freezes and crashes.


    After opening the program again and make sure to stop after you save ransacked preferences and get again an accident - here I am.


    Help, please! I was wondering if I could do any kind of process Time Machine where I could return to my old system that worked, bugs and all because I really need to edit photos, but not found.

    Here is my system page - thank you again in advance!


    system.JPG

    HI -.

    I just do a system restore to two days before the problem and the PS CS6 now works perfectly.

    Thanks anyway.

    Detective Conan.

  • After you have installed java version 8 day 66 on OS 10.10.5 Firefox opens but refuses to answer.

    I restarted Firefox, then restarted the computer. Firefox opens but I can't open any bookmark or type any address in the box. Does not at all.

    It could be the work of one of your modules.
    Type of topic: addons< enter > in the address bar to open your add-ons Manager.
    Access key; < Control >(Mac: < command >)< shift > has)

    In the Manager of Add-ons, on the left, select Extensions.
    Disable some add-ons, then restart Firefox.

    Some added addons toolbar and anti-virus are known to cause
    Firefox issues. Disable all of them.

    If the problem persists, disable some more (restarting FF). Continue until the
    the problem disappeared. After, you know which group is the origin of the problem.
    Reactivate the last group ONE AT A TIME (reboot FF) until the problem reports.

    Once you think you have found the issue, that disable and reactivate all the
    others, then restart. Let us know who the suspect is detective.

  • After the upgrade to Firefox 34.0.5, app opens but there is no indication in the browser window, i.e. no URL opens, and there is no message error, but Safari OSX 10.9.5 misfortune

    After the upgrade to Firefox 34.0.5, app opens but there is no indication in the browser window, i.e. no URL opens, and there is no error message.

    Safari (OSX 10.9.5) works.

    I tried the firewall solution, but it does not work.

    Previous version of Firefox work very well. I tried the version installation 34 twice and the computer restart.

    Yoono is a free software that allows you to connect and share with all your social networks and instant messaging in one place services
    www.Yoono.com

    It was very good work. Play well.
    Please mark your last post as solved so other will know.

  • Firefox is suspended after he tried to update Adobe Flash. I can't fix it until Firefox is open, but I'm unable to close TI-menu bar don't appear again.

    In the Adobe Flash update process, Firefox froze. It fits as being open, and any fixes I've tried will work as long as it's open, but I can't close it. Even when I click on the icon of Firefox, the Firefox menu bar does not appear. Any Firefox window.

    If Firefox is still in progress, use the the Task Manager on your computer for
    Close it. After that, try to Start Firefox in Safe Mode {web link}

    While you are in safe mode;
    Press Alt or F10 to bring up the toolbar.
    Followed;

    Windows; Tools > Options
    Linux; Edit > Preferences
    Mac; name of the application > Preferences

    Then Advanced > General.
    Find and stop using hardware acceleration.

    Search web sites secure. Are there problems?

    Then restart.

  • Firefox hangs before opening, but does not work in safe mode

    Firefox start, sometimes the browser window will open, but either way it hangs completely seized of the charges. I can open it in safe mode and have tried the suggestions of "Troubleshooting extensions and themes", but it hangs still, even with all add ons and extensions disabled, after removing and reinstalling the latest version of Firefox and reset the toolbar.

    Your crashreport:
    https://crash-stats.Mozilla.com/report/index/BP-f144bda2-12d0-4a31-94f8-318662111109
    This is caused by report of Trusteer. Try to disable it and see if that stops the noise.
    You can stop the report by using the Start Menu > programs > Trusteer report > report stop
    You can ask their helpdesk when a version update of their products will be available or, if you do not need this software, uninstall.
    http://www.Trusteer.com/support/en/report-problem
    According to the user in question 892517 Trusteer is aware of the problem and working on a fix.
    See also Bug 699776 - crash of nsXPTCStubBase::QueryInterface involving a RapportTanzan7.dll in the stack.

  • Password on notes does not work! Put juice in day to ios9.3 and password to notes, but nothing happened. Notes always open as before. I tried to add new notes too. But nothing happened until now

    Password on notes does not work! Put juice in day to ios9.3 and password to notes, but nothing happened. Notes always open as before. I tried to add new notes too. But nothing has happened so far.

    Same question, the lock in action field icon is absent.

  • I accidently deleted pictures from the camera chip while it was in drive d:, but before that I copied them to the hard drive. Is there a way to recover?

    I accidently deleted pictures from the camera chip while it was in drive d:, but before that I copied them to the hard drive.  Is there a way to recover?

    Hello

    What version of Windows are you using?

    If it is deleted from the memory card, it can not be recovered. However, there are some third-party applications or the tool that will help you recover photos. If you have saved the pictures on the hard drive and deleted, so you can check in the trash.

    See also:

    http://social.msdn.Microsoft.com/forums/en-us/olsbgeneral/thread/10ef8d69-1049-49D3-9957-9e07d5ed5804/

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • After that Windows Update installation, some programs fail to open but take up to 25% of the CPU usage

    Hi I have a HP Probook 6470 b. After installation of the latest series of Windows updates my laptop fails to open the common programs such as Word 2010, Adobe Acrobat Pro and Internet Explorer 11. Other programs such as Excel 2010 and Chrome are not affected. Programs not just open, but on the control task manager, they are each taking up 25% CPU, which is the set of core.

    Strangely, on a machine identical to the work occurs the same problem but on a desktop computer, I can't reproduce the problem. With my laptop I use system restore and the problem goes away until Windows Update to run again - there are quite a few updates and I can't identify what the source of the problem.

    Everyone knows about this problem?

    Hello. In the end, I managed to get out. It was Microsoft EMET that was causing problems. Ultimately I unchecked all boxes and now all my programs work correctly. Strangely Chrome and Excel have been unchecked already which is the reason for which they worked.

  • There is a folder on my desktop time I deleted a million, but keeps popping back into my office after a few minutes

    There is a folder on my desktop time I deleted a million, but keeps popping back into my office after a few minutes.

    How can I remove it permanently?

    Have you tried to delete it in SafeMode (F8)?

    Have you tried Shift Delete?

    What is the name of folders and properties?

  • [if I double click on the photoshop icon it open but used lightroom is still], it worked before

    If I double click on the photoshop icon it wont open but lightroom doesn't always work, it was working before but just tried to drag a photo to it and nothing

    Hi mikeg84390073,

    Greetings.

    • What version of PS you use, is up to date?

    • If she is up to date, try to open PS C - Program files - Adobe - Adobe Photoshop
    • If it is still do not work, reinstall Photoshop.

    Concerning

    Rohit

Maybe you are looking for