title: How to cancel update in oracle.?
body: <p>How can i cancel update in oracle.</p>
  
  <p>For example my query is:</p>
  
  <p><strong>STEP 1:</strong></p>
  
  <pre><code>UPDATE CUSTOMER SET Name='Sesuraj',Age='23',Gender='Male';
  </code></pre>
  
  <p><strong>My output is:</strong></p>
  
  <pre><code>Name: Sesuraj, Age: 23, Gender: Male
  </code></pre>
  
  <p><strong>STEP 2:</strong>
  Now i am going to update my table again with following query:</p>
  
  <pre><code>UPDATE CUSTOMER SET Name='Sesuraj',Age='23',Gender='Male';
  </code></pre>
  
  <p><strong>My output is:</strong></p>
  
  <pre><code>Name: Sesuraj, Age: 23, Gender: Male
  </code></pre>
  
  <p>So STEP 1 = STEP 2</p>
  
  <p>When ever STEP 1 =STEP 2 I want to avoid update, else i want to update my table.</p>