title: Remove decimal values using SQL query
body: <p>I am having following values in database table :</p>
  
  <pre><code>12.00
  15.00
  18.00
  20.00
  </code></pre>
  
  <p>I want to remove all decimal ZEROS from all values , So how can I do this using SQL query. I tried replace query but that is not working.</p>
  
  <p>I want values like :</p>
  
  <pre><code>12
  15
  18
  20
  </code></pre>
  
  <p>My replace query :</p>
  
  <pre><code>       select height(replace (12.00, '')) from table;
  </code></pre>
  
  <p>Please help.</p>