title: How to create boolean variable in a stored procedure using db2?
body: <pre><code>CREATE PROCEDURE deleteNotActualData()
  SPECIFIC proc_vars
  LANGUAGE SQL
  BEGIN
  
  DECLARE trueOrFalse BOOLEAN;
  
  END;
  </code></pre>
  
  <p>When I try to do this query I have an: </p>
  
  <blockquote>
    <p>error: 42601  A character, token, or clause is invalid or missing.</p>
  </blockquote>