Is there an equivalent to the T-SQL IF...ELSE keywords for control flow?
I'm trying to conditionally EXCHANGE tables A and B if A exists, otherwise just rename B to A. From documentation, all I'm seeing around conditional logic is to use functions within a SELECT statement.