ALTER TABLE image DROP INDEX ix_search;
The above-mentioned SQL statement will produce an error if the index ix_search does not exist.
How can I check to see if the index exists before I drop it; and to ensure the ALTER TABLE statement is never invoked to drop the index if there is no index to drop?
I am created a reusable SQL file that will be shipped with a portable PHP-based web application.
Thanx
Phil