Results 1 to 2 of 2

Thread: I just want to commit my second Insert statement

  1. #1
    Geek_Guest
    Guest

    I just want to commit my second Insert statement

    Suppose I have 3 insert statements. But I just want to commit my second Insert statement. How it is possible in SQL? It was asked to me in Oracle Interview.

    Question asked by visitor Jalpa Patel


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

    Re: I just want to commit my second Insert statement

    That is not possible directly uisng SQL.
    To achieve that u nee do write a procedure and through that u need to insert tthe second record.
    and this transaction must be declared as AUTONOMOUS TRANSACTION.


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