The optional IF EXISTS clause can be used to avoid an error if the object being dropped does not exist.
The IF EXISTS clause is supported on all DROP SQL object types.
See the SQL Reference for details: DROP
Was this topic helpful?
08 December 2021