title: Redshift: TRUNCATE TABLE IF EXISTS
body: <p>It is <a href="https://docs.aws.amazon.com/redshift/latest/dg/r_TRUNCATE.html" rel="nofollow noreferrer">recommended</a> to use <code>TRUNCATE TABLE</code> instead of <code>DELETE</code>. However, truncate table does not support the <code>IF EXISTS</code> clause. The alternative is to <code>DROP TABLE</code> and recreate but needs DDL. Is there a way to do <code>TRUNCATE TABLE</code> if only the table exists?</p>