title: Avoid having error when converting String to Integer in DB2
body: <p>I want to select a column that is defined as <code>VARCHAR</code>, as an <code>INTEGER</code> like this: </p>
  
  <pre><code>SELECT ID, CAST(Col1 as INT) as MyOutput FROM MyTABLE
  </code></pre>
  
  <p>The problem is when the column has an invalid format (that can't be converted to Integer) I want to set them to <code>NULL</code>. Is there a way to do this in DB2 ? </p>