title: How to Select data from db2 for current date
body: <p>I have to retrieve data from DB2 for current date, but I am not able to find correct solution for the same.</p>
  
  <p>For example:</p>
  
  <pre><code>SELECT * FROM table WHERE date = current-date
  </code></pre>
  
  <p>(I know this is wrong, it's just an example.)</p>
  
  <p>I need a correct where condition for DB2.</p>