Reputation: 23
I'm using Informix 11.5 and I'd like to know if there is any alternative to DROP TABLE IF EXISTS <table_name>
, since this is not supported in version 11.5.
Upgrade from 11.5 is not an option.
Upvotes: 2
Views: 558
Reputation: 754480
The only alternative to DROP TABLE IF EXISTS
is a plain DROP TABLE
and ignore the error complaining about the table not existing — other errors still need to be worried about.
Upvotes: 1