Results 1 to 4 of 4

Thread: Commit upto save point

  1. #1
    Geek_Guest
    Guest

    Commit upto save point

    Is there any possibilities to commit upto a savepoint?

    For example:

    1.Update emp .....
    savepoint a
    2.update emp ....
    savepont b
    3.update emp...
    savepoint c


    Now i want to commit upto savepoint b. Is it possible ? if yes how?

    Question asked by visitor kanahavel


  2. #2
    Expert Member
    Join Date
    Apr 2007
    Answers
    500

    Re: Commit upto save point

    update emp.....

    savepoint a;

    update emp....

    savepoint b;

    update emp...

    savepoint c;

    ROLLBACK TO SAVEPOINT B

    commit; Hope this will help u


  3. #3
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: Commit upto save point

    Directly there is no such command. Savepoints are used along with Rollback command not with Commit command. Follow the steps as suggested in the previous post.


  4. #4

    Thumbs up Re: Commit upto save point

    update emp.....
    savepoint a;
    update emp....
    savepoint b;
    update emp...
    savepoint c;
    ROLLBACK TO SAVEPOINT B
    commit;

    This will help to commit upto savepoint b


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact