title: Check if declared global temporary table exists in current session
body: <p>How can I check if a declared global temporary table in DB2 exists or not in the current session? </p>
  
  <p>I need to create the temporary table once for a user session and then be able to insert rows in it each time a report is executed in the case of my application. So I need to delete all the rows from this table when a report is executed for more than the first time and then re-populate it with new rows. </p>
  
  <p>Right now the method creating the temporary table is throwing a <code>42710 SQLSTATE error</code> the second time it is executed. </p>
  
  <p>Does this statement work for my implementation: <code>DECLARE CONTINUE HANDLER FOR SQLSTATE '42710' SET DGTT_FOUND=1</code> and how can I use it in Java (<code>executeUpdate()</code> ?)</p>