MySQL Forums
Forum List  »  Delphi

"if exists" in clause
Posted by: Jim Sawyer
Date: October 02, 2020 09:11AM

How can I alter this such that it doesn't error? It works fine without the "if exists?

ihQuery.SQL.Add( 'drop index patno if exists on records' );

Options: ReplyQuote

Written By
"if exists" in clause
October 02, 2020 09:11AM
October 02, 2020 09:49AM
October 02, 2020 10:15AM
October 03, 2020 10:58AM
October 03, 2020 01:03PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.