Rolling back the creation of a split partition on a table

Hi,
I had some partitions created on a materialized view . I then split the last partition called FINAL into mulitiple other partitions. Now how can i drop the created split partitions without dropping FINAL.
I am using Oracle 10g.

You could ALTER TABLE tablename DROP PARTITION partitionname
OR
You could ALTER TABLE tablename MERGE PARTITION .... to merge them back.
Hemant K Chitale

Similar Messages

  • How to "roll back" the model if a database update fails

    I'd like to know if there's a way to "roll back" the model (the values in the managed beans) if a service call to a database fails during the Invoke Application phase. My understanding of the JSF lifecycle is that the values in the model are updated before a service call to a database would happen. If the database update operation fails, it seems to me that the data in the model and the database would be inconsistent.
    For example, say I have a ridiculously simple application that updates a names database. The fields are id, last name, first name. The application has a simple view that allows the user to update a name in the database. The user updates the last name field for a particular record from "Doe" to "Smith" and clicks "submit". The request goes through the lifecycle, the model values are updated from the web form during the Update Model Values phase, then the call to update the database fails during the Invoke Applications phase (the database connection failed). When the Render Response phase completes, the UI would display an error message where I put <h:messages> but the last name value in the UI would show "Smith" instead of "Doe". Is there something I can do to roll the model value back to "Doe" if the database call fails?
    I know that I could redirect to a technical error page, but I'd like to avoid it unless it is the best thing to do.
    I'd appreciate any advice you can offer.
    Thanks.
    - Luke

    I'd like to know if there's a way to "roll back" the model (the values in the managed beans) if a service call to a database fails during the Invoke Application phase. My understanding of the JSF lifecycle is that the values in the model are updated before a service call to a database would happen. If the database update operation fails, it seems to me that the data in the model and the database would be inconsistent.
    For example, say I have a ridiculously simple application that updates a names database. The fields are id, last name, first name. The application has a simple view that allows the user to update a name in the database. The user updates the last name field for a particular record from "Doe" to "Smith" and clicks "submit". The request goes through the lifecycle, the model values are updated from the web form during the Update Model Values phase, then the call to update the database fails during the Invoke Applications phase (the database connection failed). When the Render Response phase completes, the UI would display an error message where I put <h:messages> but the last name value in the UI would show "Smith" instead of "Doe". Is there something I can do to roll the model value back to "Doe" if the database call fails?
    I know that I could redirect to a technical error page, but I'd like to avoid it unless it is the best thing to do.
    I'd appreciate any advice you can offer.
    Thanks.
    - Luke

  • The install wizard stops and "rolls Back" the install and just gives the attached notice of the install error...how can this be corrected?

    The install wizard stops and "rolls Back" the install and just gives the attached notice of the install error...how can this be corrected?
    The notice is inserted first and the stopping point is second.

    Da ich gar kein Englisch kann kann ich auch nicht sagen was sie mir
    geschrieben haben ich kann nur Vermuten was das sein soll es tut mir leid
    aber ich kann ihnen keine Konkreter Antwort geben alle Sprechen Englisch
    nur ich nicht mehr kann ich dazu nicht sagen
    Constantin Preda
    2015-02-12 21:45 GMT+01:00 Claudio González <[email protected]>:
        The install wizard stops and "rolls Back" the install and just gives
    the attached notice of the install error...how can this be corrected?
    created by Claudio González
    <https://forums.adobe.com/people/Claudio+Gonz%C3%A1lez> in Adobe Reader
    - View the full discussion
    <https://forums.adobe.com/message/7189357#7189357>

  • Roll back the updated records

    One of our application users accidently updated approximately 1000 records of one of our Production Database tables .There are 3-5 records usually added /modifiled to this table per day .we also
    restore a copy of our production database to Test server  each night .In this situation, we wanted to roll back all transactions for that table those are updated by user accidently
     so we decided to rename the production table and tried to copy table to production from the test database .Unfortunally
     we could not rename the table name since there are a few production database tables are dependent on that table .Finally we compared the affected records of production table
     with Test database table and created update script that updated all affected records with the original values .This recovery step was very time consuming especially during the business hours . when someone accidently delete ,update and modified
    data , in this case what would be the possible options that SQL DBA can use to roll back the transactions without any downtime ?
    Has someone used the ApexSQL log against the Production database to recover data before ?
    Thank you in adavance for you help .
    Daizy

    Always prepared for a rollback steps (Scripts ), and make sure you have scheduled backups ( full and tlog )
    If you know the exact time then you may try for point-in-time recvery using your full_tlod backup.. for this you should aware the exact time and again you have to do some manual work, because this is unplanned and human mistakes always risky and etc.., You
    have to make sure that you are executing  correct scripts and you may have to test the same in Test servers before executing.
    Not sure how this ApexSQL works for rollback... you may have to test using your Test servers
    WITH FILE=5, NORECOVERY, STOPAT = 'Apr 15, 2020 12:00 AM';http://msdn.microsoft.com/en-us/library/ms179451.aspx
    Raju Rasagounder Sr MSSQL DBA

  • Element 9 error "Rolling back the installation of Elements 9" failed.??

    I just bought Elements 9 for Windows. And anytime I try to download it, it says "Rolling back the installation of Elements 9" then says "shared technologies failed"?
    I have tried multiple things listed on here and nothing helps.
    Does anyone know how to fix this??
    Thanks~!

    Hello,
    I noticed that there is a log we can refer to:
    C:\Windows\CCM\Microsoft.ConfigurationManager.AssetProvider.InstallLog
    Since the client software is not installed successfully, I'm not 100% sure if the folder persists.
    In addition please check event log. Pay attention to those logs regarding WMI.

  • Roll Back the Sales Order After Adding

    Hi Experts,
    I want to roll back the system form trasaction like Sales Order. After adding the Sales Order immediately i want to roll back the transaction.
    I used the Company.Transaction Object, but it is only working on User Tables. Not in System Forms like Sales Order.
    Can you please tell me the solution for this ASAP.
    Thanks in Advance,
    G.Suresh

    Hi Petr,
    You didnt get my point. In my concern is, i am going to add Sales Order by Manually not using code.
      In FormDataEvent of the Sales Order
                Select Case BusinessObjectInfo.EventType
                    Case SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD
                     If BusinessObjectInfo.ActionSuccess = True Then
    /***** This Code for getting current transaction of the Sales Order *****/
                            Dim oObject As SAPbobsCOM.Documents
                            oObject = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                            oObject.Browser.GetByKeys(BusinessObjectInfo.ObjectKey).
    /**** here i want to rollback the saved sales order  ****/
                    End If
                  End Select
    Can you tell me, how i ll rollback the already saved transaction which added by user from Sales Order Screen not in code.
    Thanks in Advance,
    G.Suresh.

  • Roll back the last update

    How can I roll back the last Firefox update on Feb 27th 2013. I really don’t like the built in PDF Viewer. I like it the way it was.
    Thanks
    Jay

    Thanks
    I set the Portable Document Format (PDF) to use Adobe Acrobat (in Firefox). It worked great, it works just like it did before the update.

  • Rolling back the journal in General Ledger

    Hi All,
    We are in 11.5.8 version.
    There is a journal came from inventory (physical inventory process). Since the
    account code combination is wrongly entered we want to correct the entries
    from inventory and then post to GL.So is any way to roll back the journal and
    then we can modify the code combination and then we want to create accounting
    once again so that a new journal will be created.
    Is any way to do this..
    Awaiting the reply
    Regards

    Hi Dash,
    Thanks for the reply
    And the inventory transactions are huge in numbers. also the wrong code combination are given at the time of physical inventory process. so only we are trying to roll back the journals.
    But we thought of trying to change the code combination from backend and in general ledger also. I have asked for the technical person to identify the tables and the links involved in this process.
    anyways thanks alot
    Regards

  • Can a Rejection in an Approval Step roll back the data from  table

    Hi All
    We are using the BPC 7.5 MS  Version SP 4 for Quantity & Sales Planning.
    The main drive dimenion is the Material Dimenion whiich is having almost 65000 member id's and increasing.
    I have a situation where the a High Level Planner Input some quantity and it allocated down at  Material Level.
    When the Surbodinate Planner under the High Level Planner looking at the allocated value, he has the option to change the quantity.
    But after he make the changes to quantity and send the data to the data base, the High Level Planner can accept the Change or Reject the change.
    If the High Level Planner Reject the change, make by  the Subordinate Planner, the Data will Roll Back to its original value, meaning the Data Submitted by Subordinate Planner will be deleted from the table and the earlier Value from the High Level Planner will show.
    Is this kind of facility available in BPC 7.5 MS Version of Rolling Back the Data already comiited to the data base.
    Looking forward to hear from you all on the same.
    Regards
    Krish

    One idea will be that you have to insert the users like dimension into BPC. This will be probably the way how you have to design your application.
    In this way probably you will be able to simulate this behaviour.
    Any way I will come back to your request.
    Why the roll back it wil help?
    May be the reject is just for planning of one material why do we have to roll back everything planned for other materials?
    Other idea for implementation is related to what means the approval and reject. Are we speaking about work status or are we speaking about another type of approval.
    It is not a simple discussion. We have to speak about detailed reguirements and function by that it can be easy achieved this behavour requested.
    Regards
    Sorin Radulescu

  • Apple company. Most of iPhone 4g phone users complain about the OS7. Set as a survey of users of iPhones 4g to roll back the OS 6.1.3. Apparatus doesn't work as has to work. Constant lags am feeling it is not iPhone. It is Android or is worse than

    Apple company . Most of iPhone 4g phone users complain about the OS7. Set as a survey of users of iPhones 4g to roll back the OS 6.1.3. Apparatus doesn't work as has to work. Constant lags am feeling it is not iPhone. It is Android or is worse than the Chinese phone.

    Apparatus doesn't work as has to work.Constant lags am feeling it is not iPhone.It is Android or is worse than the Chinese phone. Phone simply brakes... to it чото doesn't suffice

  • My HP Computer wont install itunes 10.5. it stalls at 'publishing product information' then rolls back the installment

    My HP Computer wont install itunes 10.5. it stalls at 'publishing product information' then rolls back the installment. I am running on windows 7.

    hi Katrina!
    IF you are running DCOMCNFG to fix something, does that mean you got an error 1607?
    here's what i think is going on with this poor chap.
    our "publishing product quit"/1607 KB doc got revised on 31 january 2006:
    iTunes for Windows installation quits while publishing product information
    ... and there's now an alternate set of treatment possibilities given in there for XP home users. people are being linked to the DCOM settings tip over at InstallShield:
    Configure the DCOM Settings on Your Computer
    so i think here that our OP has a "publishing product information" quit version of this problem, and followed up on that link, which is why DCOMCNFG got mentioned.
    love, b

  • How do I roll back the BIOS update on Satellite U400-157?

    I recently updated a Tempro alert for BIOS update for the note book. I now notice that the screen blanks out a few times at PC start up. It was't there before. How do I roll back the BIOS update to an earlier one.
    I don't get to see the BIOS update screen else where other that the time that I did the BIOS update.

    Hi
    To be honest I dont understand exactly what is your problem.
    You said: . I now notice that the screen blanks out a few times at PC start up.
    What does this mean exactly? Is your display black until Windows has booted up?
    To be honest, I dont think that BIOS update would be the reason for that go to BIOS (press F2) and set the BIOS to default settings (F9) and save the changes (F10).
    If you want to get back the earlier BIOS version, then you will need to flash the BIOS ROM module using an DOS based BIOS version. On the Toshiba European driver page you can find only the win-based versions

  • HT5318 Itunes 10.6.3 will not install in my computer. It says that it has found errors and is rolling back the install. What can I do?  My laptop is also win7 and it did install there.

    I have a Windows 7 OS 64 bit, ZT desktopcomputer with 16meg memory. I have not been able to install any updates
    to itunes to my computer.  It downloads, but then when installing, it looks like it is going to complete the install
    and then it rolls back and says the errors occured and to try again.  I have a win7 64bit HP Laptop that installed
    the itune updates with no problem.  I have to sync my iphone to my Laptop as it will not work with my desktop.
    Please advise.
         Thanks,
               Roger

    Do you have any other drive connected, which has a copy of FCP X?
    I would make a copy of the application in some drive, just in case; then disconnect the drive, delete the application (could use FCS Remover to delete everything related).
    Then, try installing from the purchases tab in the App Store.

  • Can you roll back the iMovie 9.0.6 update as it has trashed iMovie for me?

    Since the auto update of iMovie to 9.0.6 I cannot open iMovie and more - it just crashes every time trying to import the projects.  I either need to KILL all old projects or roll back iMovie so that it is usable!!!
    I found the answer at https://discussions.apple.com/message/18684126#18684126 once I placed the question!
    Thanks all

    There's a workaround ..   delete the currently installed iMovie app. Then reinstalling will give you iMove 9.0.6.
    Use this free utiilty to uninstall iMovie >  Download AppCleaner for Mac
    Once it's uninstalled, you can re download iMovie for free using the same Apple ID it was originally purchased from.
    How to re download apps from the Mac App Store:
    Open the App Store. From the menu bar click Store > Sign In
    Click Purchases from the top of the App Store window.
    Select which apps you want to re download. Then right or control click where you see Installed  then click Install.

  • Rolling back the transaction from stateful session bean

    Hi,
    How can I mark the transaction to be rolled back in a stateful session bean implementation?.
    Should I call setRollbackOnly method or throw a RemoteException or throw an EJBException, etc.?
    the configuration is :
    OC4J 9.0.4
    Stateful session bean
    Related method has transaction attribute - "Required"
    thanks & regards.
    ps : I couldn't find a related topic even if this has been discussed before (too many topics). if so, excuses.
    Erdem.

    Tried using Bean managed transactions but with the same result. Given below is the sample code.
    UserTransaction uts = null;
    try {
    uts = (UserTransaction)(ctx.getUserTransaction());
    uts.begin();
    Connection con = null;
    con = getCountConnection();
    PreparedStatement ps = con.prepareStatement(sqlselectUserId);
    ps.executeUpdate();
    PreparedStatement ps1 = con.prepareStatement(sqlselectUserDetails);
    ps1.executeUpdate();
    uts.commit();
    catch(SQLException e) {
         uts.rollback();

Maybe you are looking for

  • How to populate the field VTTK - EXTI1 in the shipment

    Hi there, I have a situation where I need to populate the field VTTK - EXTI1  with certain values, I would like to know if there is a user exit or badi to do this.  Actually the field is empty and it's possible to enter any value. Thanks in advance R

  • How to Test Design Time Fusion Customizations in JDeveloper

    Hi When we look at the wording and the diagram in the Oracle documentation, it says - "After you create these customizations, you can test them locally in JDeveloper and then deploy them directly into the full test environment. You can also deploy yo

  • Can't work out how to stop Mac mail from Forwarding to GMail account.

    Okay. This is on behalf of my sister. For whatever reason, when emails are sent to her @mac.com address they get forwarded to her GMail account and deleted from her @mac.com address. So they never appear in her @mac.com inbox. She now wants this rela

  • ExecutiveInsight BI Beans sample error.

    Hi there, I have installed Ocacle 10g 10.1.0.4.2 and all the parts that go with the setting up of the Business Intellegence suite. I have managed to install and run the Executive Insight sample application. Everything works fine except when I click t

  • Multiple Outputs One Input

    Hi, I have about four labview files which have outputs that must go into a single VI with only one input. The problem I have is labview will not let you wire multiple sources into a single sink. I have a state machine setup where it goes through a it