Data lost/Rows deleted after commit

Dear all,
I am struggling with a very critical issue in oracle 10g express.
I have done following steps...
01. Create table Sawan
02. insert into Sawan
03. select count(*) from Sawan; (This returns 1)
04. commit;
05. select count(*) from Sawan; (This returns 0)
The problem here is after commitng, rows has been deleted.
Please suggest for any possible reason as soon as possible.
Thanks
Sawan

As soon as possible,hmmm!
Well this is only possible if you have created a temp table.See this,
SQL> create global temporary table temptab
  2  on commit delete rows
  3  as select * from dept;
SP2-0640: Not connected
SQL> conn scott/tiger
Connected.
SQL> create global temporary table temptab
  2  on commit delete rows
  3  as select * from dept;
Table created.
SQL> select * from temptab;
no rows selected
SQL> insert into temptab select * from dept;
4 rows created.
SQL> select * from temptab;
    DEPTNO DNAME          LOC
        10 ACCOUNTING     NEW YORK
        20 RESEARCH       DALLAS
        30 SALES          CHICAGO
        40 OPERATIONS     BOSTON
SQL> commit;
Commit complete.
SQL> select * from temptab;
no rows selected
SQL>This is on 11106,win xp prof.
If this i not what you have done than you want to try out XE forum.Yo may have hit a bug of it.
Aman....

Similar Messages

  • ViewObject Row doesn't change it's state from Row.STATUS_NEW after commit ?

    Hi All,
    i have the following problem:
    In my Application i have a logic which is based on View Object Row state .
    I have the following common problem scenario:
    I'm creating a new Row and putting it into state Row.STATUS_INITIALIZED.
    After modifying the Row attributes it goes in Row.STATUS_NEW (which is correct).
    After executing transaction COMMIT i'm expecting the Row state to be changed to status
    UNMODIFIED (similar as an entities). However this not happens , the Row is still in state
    Row.STATUS_NEW. The entities on which are based the View Object change their statuses
    correctly (they go from NEW to UNMODIFIED state).
    I doesn't find any details about switching View Object Row state (except from INITIALIZED to NEW and vice versa)
    in the documentation, so i'm wondering is this framework behaviour correct ?
    Thanks in advance,
    Krasimir

    You're mixing up the newRow state and the row state (which does not exist for a view row in that way).
    The newRow state can only have values STATUS_INITIALIZED and STATUS_NEW.
    The row state that you want is basically the row state of the updateable entities contained in the row.
    If you want to expose that entity state as row state then follow instructions (example 46) here:
    http://blogs.oracle.com/smuenchadf/examples/
    Sascha

  • Master data to be deleted after adding attribute

    Hii All,
    I have a master data info object, which contains the data.what will happen if i add new attribute to this master data info object.
    right now this master data info object doesn't contain any data for this newly added attribute.
    then i tried to delete data from the master data info object.but it is not allowing me to do so as it is used in three info cubes. i think if i delete the data then it will allow me to delete data from master data info object.But that is not possible as subsequently i have to delete the data from info cube in productio also.
    So ran full update for the master data info object now i have the data for the newly added attribute.But when i am running report and try to drill down on the newly added characteristic it shows "#" not assigned.
    What should i do..
    pls help..
    Regards,
    Viren

    Hi Rana
    1. <i>I have a master data info object, which contains the data.what will happen if i add new attribute to this master data info object.</i>
    Nothing will happen if you add a new attribute to the existing one. If your adding in the dev system, it will as you to create a request when you activate it.Just create a request the transport it.
    2.<i>But that is not possible as subsequently i have to delete the data from info cube in productio also.</i>
    You can delete the data in the dev system cube irrespective of production server cube data. If you delete the cube then you have to worry but deleting the data from the cube is not to worry. You can go ahead with deleting the data in the cube in dev server.
    3.<i>So ran full update for the master data info object now i have the data for the newly added attribute.But when i am running report and try to drill down on the newly added characteristic it shows "#" not assigned.</i>
    AFter loading the data . right click on the master data object and clik on Activate masster data or RUn apply hierarchy attribute change in Tools menu.
    Hope this helps
    Ram

  • Front row deleted after archive + install

    I was having some problems with my, mac, archived + installed, 2nd disk was bad, took mac into store, they archived and installed, now I don't have front row. Where can I get it, or do I have to wait till I get a new disk or take it back to the store?
    Thanks!

    Insert your Mac OS X install disk that came with your Mac (you do NOT need to startup from the disk) and double-click on the "Install Bundled Software Only" option. After selecting the destination, there is a "Customize" button where you can uncheck or check on all of the additional software that shipped with the Mac. If Front Row is all you need, just uncheck all of the other options and make sure Front Row is checked "on". Then continue with the installer.
    When you have reinstalled Front Row, use Software Update to get latest update for Front Row.

  • Blackberry data lost or reset after wife tried to guess my security password

    Hi,
    I was asleep when my wife tried to access my email by trying to guess my security password on my blackberry 8330 series, when I woke up and tried to use my phone, it had been reset to the original default settings and when it asked for my security password but mine is not working. I have no way to enter my phone and it seems my business and personal information on my phone has been deleted. Is there any way to recover my information and to reset the password on my phone?
    Message Edited by EJRaven on 05-15-2009 06:41 AM

    Hopefully, if you are on a work account, it is a BES and all you important data, messages, contacts etc., are on the BES. Inquire with your BES Admin.
    If you have a personal BIS account, it's gone, as it should be, the security on the device is working as intended.
    Do you have a recent backup of the device?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • After commit current row is no longer highlighted

    JDeveloper 11.1.1.20.
    Scenario: a master detail page where master and detail are both ordinary ADF table ( NOT read-only).
    If I place the cursor on a master row and do a click the row is highlighted.
    If I do a createInsert operation (with a button) a new row is created above the previous mentioned row.
    Problem:
    If I do a commit after the new row is filled with data sometimes the newly made row is now longer highlighted after the commit.
    The newly created row is stil active. This is seen by the fact that if I subsequently creates a new deatil row it is correctly connected to the newly created master row.
    And - after the newly created detail row is created the master row is again highligted.
    Any ideas?
    Best regards
    Erik

    Hi,
    To keep highlight the selected row do some operation in bean ,Get selected row and set that row again after commit
    Check
    http://jobinesh.blogspot.com/2011/01/declaratively-setting-current-row-key.html

  • All data deleted after upgrade to iOS8

    I am deeply sad. All data has been deleted after upgrade to iOS8.
    What I did:
    1. Connect ipad to PC to transfer records from voice recorder.
    2. iTunes offered to upgrade system.
    3. I confirmed.
    4. Some unknown error occured in the end of upgrade process.
    5. When iPad started, iOS8 was there. All data disappeared.
    6. I am sad. All valued data I need is lost... (no backup has been done before upgrade).
    Pls advice is it possible to get data back.

    Yes. I did backup.
    But don't know how to get it.
    Actualy, all I need is 2 records from Recorder programm. Before upgrade I downloaded records from itunes; screen → http://joxi.ru/caQdVIwyTJDKAjTtsuk
    Now it is empty, no records.
    I see that backup of this programm data available in storage. But don't know how to get it from there; screen → http://joxi.ru/taUdVP3JTJAaYtIkBaI
    By the way iTunes tells me that backup copies available for today only → http://joxi.ru/7KUdVP3JTJBAXfQZjgI

  • How to retrieve data from the Database after deleting rows from VO ?

    Hello,
    I am using Jdeveloper 11.1.2.1.0
    I have a master and a child .
    So according my use case when a value in the master vo changes the corresponding child has to be deleted.
    but when i change back to any other value i want to undo the delete operation and get back the values in the child.
    Is there any way to do it?
    Regards,
    Nigel.
    Edited by: Nigel Thomas on Mar 29, 2012 5:07 AM
    Edited by: Nigel Thomas on Mar 29, 2012 5:09 AM

    Hi all,
    I want to do a validation based on a SelectOneChoice List Value.
    Based on which value in the select one choice is being selected, thedata from the VO should be DELETED or NOT-DELETED.
    To do this I wrote a Managed Bean and the delete part is working fine if a particular value of the SelectOneChoice is selected.
    Since the rows are deleted from the VO, after I change the SelectOneChoice value to the previous one I cannot retrieve the rows.
    I thought of two ways:
    1. As the Deleting option in the SelectOneChoice is selected the rows should be deleted from the VO and when reverted back to not-Deleting option the Rollback of Transaction method written in the Managed Bean should take place.
    2. As the Deleting option is selected the data should be deleted from the VO and when reverted back to non-Deleting option, a query should be made from the Database.
    The first plan was dropped because it is not VO-specific. If there are more than 1 VO in the page then whatever changes are made in the page will be reverted back as soon ad Rollback of transaction is done.
    So the now i am left to go with the second plan.
    Is there any way to implement the second plan?
    If so...Will it compromise the performance of the application?
    Or else, Is there any other way to implement my Use-Case ???
    Regards,
    Nigel.

  • Help I lost my email after deleting my mail acount

    I lost my email after deleting my mail acount there was nothoing in the trash and I have important email whish were in the reception folder. What can I do ? Thanks

    It all depends on the type of account and how it was configured. For IMAP-type accounts, mail is stored on the server, and setting up the account again is all that's needed to regain access to your mail.
    If you deleted a POP account, however, then all your mail stored locally in that account's mailboxes has certainly been wiped out, not just moved somewhere, and you were warned that this would happen by the following alert:
    Remove Account
    Are you sure you want to remove the <AccountType> account "<AccountName>"?
    This will permanently delete the account setup information, mailboxes, and messages from your computer. Messages stored on the mail server will not be affected.
    For each mail account, Mail creates a folder within ~/Library/Mail/ whose name starts with the account type (POP, IMAP, .Mac), followed by the account username and the incoming mail server. Deleting the account causes this folder and everything within it to be deleted as well.
    If the POP account was configured to leave mail on the server for some time instead of removing it right away, incoming mail that's still on the server can be downloaded by setting up the account again, just like for IMAP accounts, but keep in mind that this would only work for received (i.e. not sent) mail that has not yet been removed from the server.
    If the messages are not on the server, and you don't have a backup, your only option is to try to salvage as many deleted *.emlx files as possible with a data recovery tool such as Data Rescue II, TechTool Pro, or FileSalvage. Of these, the only one I know for sure that can recover deleted *.emlx files is FileSalvage. Stop using your computer right now if you want to try that, as anything you do with the computer may cause the deleted files to be overwritten.

  • Get No. of Affected Rows After Commit

    In my application, I'm showing data in af:table which is editable.
    I need to show the no. of rows affected after calling a commit.
    Edited by: Anooj on Nov 21, 2011 10:52 PM

    There are some possible solutions for your problem. Only we can't help if you tell us which jdev version you are using and which technology you are working on.
    Timo

  • ORA-20001: Error in multi row delete operation: ORA-01403: no data

    Whenever I attempt a multi-row delete on my master detail page, I recieve the error:
    ORA-20001: Error in multi row delete operation: ORA-01403: no dataI have seen in other threads that the primary key attribute of the underlying table needs to be set to 'Show' in the report attributes. I have tried this both with it displaying as 'Hidden' ('Show' is unchecked) and with it displaying as text. Either way still gives me the same error.
    Is there anything else not mentioned in the other threads that could be causing this error for me?
    Thanks.
    BoilerUP

    Jimmy,
    In your multi row delete process you specify schema name, table and column name. Your report needs to be of type “SQL query (Updateable report)”. And your report needs to include the primary key column of your table. The column or alias name of that report column needs to correspond with the actual column name of your table.
    Marc

  • Data lock even after commit work and wait

    Hi Experts,
    Data is still locked even after commit work and wait step has run, which made me very confusing.
    The following are the details:
    These steps are in a FOP.
    Step1: Change Move-in Date of a move-in document in background after get the new move-date from user.
    Step2: Run BAPI_TRANSACTION_COMMIT and pass the wait parameter.
    Step3: Bring move-in document transaction to the user for other information changes.
               After the user confirms the changes and presses SAVE button, error message shows that the move-in document is still locked. But no other transaction is opened for the specified move-doc changing.
    Does any1 have any idea on this? How can I solve this issue?
    Thanks in advance and points will be rewarded.
    Vincent

    Hi,
    Normally every BAPI will work on Update task so that the data will be updated once the commit work is done. For the commit work, we will normally call the bapi function module - BAPI_TRANSACTION_COMMIT. It should work.
    In your case, just try the below option:
    Please call the bapi - BAPI_ACC_DOCUMENT_POST & BAPI_TRANSACTION_COMMIT in a seperate function module and call this function module in your program (just pass the import / export / table parameters accordingly).
    For the information, I had once a similar type of issue and it got solved once I did like the above.
    Regards,
    Selva K.

  • Help!  External HD data lost after Leopard install!

    After a quirky install of Leopard that included an error message for the install DVD itself, it seems that installation has been completed and this was confirmed by Apple CS. This install was on an iMac. Apple said to disregard the error message. It "appears" to have installed, but has been quirky on not shutting down when directed, and also not ejecting disks. No prior problems whatsoever with this machine -- before Leopard yesterday morning.
    BUT, the external hard drive (Western Digital 80 GB) that was connected to the iMac comes up empty after the install. That's right, EMPTY! Critical client data gone! The only item on the disk is that dark gray icon with a yellow "exec" in the upper left corner (a Unix Executable File apparently).
    Efforts to assess/fix External HD issue:
    1. Disk utility reveals an error-free disk with no data (both permissions and disk repair). Same problem-free assessment by disk utility for the newly Leoparded machine, too.
    2. Western Digital diagnostic says all ok with disk -- ran on another machine.
    3. No data when connected to Leopard MacBook or other iMac running Tiger or other iMac in Windows mode.
    4. Phone consult with ESS Data Recovery Specialist -- they think Leopard might have formatted the external. Note that the external didn't show up as an install option.
    5. ESS Specialist recommended trying DataRescue by www.prosofteng.com.
    My observations related to other related forum topics:
    1. This issue appears different as others seem to have had luck plugging their external HDs into other machines with data recovery success.
    2. This issue appears different as there is no discernable error with the external HD hardware itself.
    3. The external seems to have been formatted by Leopard. Haven't seen anyone talk about this.
    PLEASE HELP me figure out next steps:
    1. Should I try Data Rescue on the external HD?
    2. Is Disk Warrior different from Data Rescue -- better, worse, different? How? I heard DW is not compatible with Leopard but can be used when booting from the DW disk?
    3. Should I used a data recovery service? After one of the above (DR/DW)? What is the best service to use in terms of effectiveness and price?
    4. For the iMac...
    a. Does it make sense to do an archive an install to make sure any issues with the quirky install
    of Leopard are cleaned up?
    b. I've noticed that I might also try a reboot in safe mode and then run disk utility again, or to
    reboot in C.
    c. The only 3rd party software on the iMac is flip-4-mac (.wmv compatibility in Quicktime).
    Should I delete it?
    Thanks for your help. I hope I've laid this out so to be useful to others with similar/dissimilar issues.
    Message was edited by: sillynuggins

    Hi sillynuggins-
    Greetings and welcome to the Apple boards
    I have read that you should disconnect all peripherals such as hard drives before doing an update and now I suppose I know one reason why.
    1,2 and 3: DataRescue is a different program than DiskWarrior. DR is what you need here. DR will be way cheaper, in orders of magnitude, than a data recovery service.
    4. An archive and install does make sense. Definitely remove flip-4-mac beforehand just to make sure.
    Luck-
    -DaddyPaycheck

  • 2008 Mac Pro 10.5.8 shuts down after hours of no use, Set to never shut down. Can be resumed pressing any key but all programs not in startup list need to be restarted and unsaved data lost .   New behavior.  No system changes.

    2008 Mac Pro 10.5.8 shuts down after hours of no use, Set to never shut down. Can be resumed pressing any key but all programs not in startup list need to be restarted and unsaved data lost .   New behavior.  No system changes.

    2008 Mac Pro 10.5.8 shuts down after hours of no use, Set to never shut down. Can be resumed pressing any key but all programs not in startup list need to be restarted and unsaved data lost .   New behavior.  No system changes.

  • HT4137 Good day! All of my data was deleted after i update my os to os5.1.1. from then on I didnt restore it again. Today, I accidentally restored my iphone and all of my recent photos were deleted. how can I retrieve it again? thanks!

    Good day! All of my data was deleted after i updated my os to os5.1.1. from then on I didnt restore it again. Today, I accidentally restored my iphone and all of my recent photos were deleted. how can I retrieve it again? thanks!

    If you have been regularly syncing/backing up your iPhone with iTunes or iCloud, you may try restoring it from the last backup.
    Read how to restore from a backup.
    http://support.apple.com/kb/ht1766
    Make sure to turn OFF automatic syncing in iTunes before connecting your iPhone.
    Preferences - devices - "check" prevent iPhone/iPod from automatic syncing

Maybe you are looking for

  • What do I need to mirror my ipad2 display to my projector?

      Projector only has inputs for VGA, s-video, and RCA.  I have an off brand 30-pin to RCA that was working for YouTube videos on my original iPad, but the ipad2 won't show anything using that cord.

  • Acrobat 8 bouncing Dock Icon

    How can I turn off the bouncing Icon in the dock? It's ok for it to bounce for a dialog box or something but to just bounce for no reason when your in another program is most annoying.... It has forced me to go back to version 7 Mac OS 10.4.10

  • Collect stmt

    hi collect means it adds all the numeric numeric fields based on non-numeric fields but i wnat add the single numeric field how to solve this one plz help me

  • Customer master extend

    Hi, Customer master extend division wise I need to extend 1 customer to 3 divisions one time T-code - xd01

  • Problems changing reference range

    I am unable to change the reference range. Whenever i click a new range it just remains on the previous range. Has anyone else had this problem before? If so, how do i solve it? Thanks, Dilip