Using MySQL 8.0.21, Delphi 10.2 and FireDAC, how can I structure the following so that "if exists" doesn't cause an error?
ihQuery.SQL.Clear;
ihQuery.SQL.Add( 'drop index patno if exists on records' );
ihQuery.ExecSQL;
Thanks, Jim Sawyer
Using MySQL 8.0.21, Delphi 10.2 and FireDAC, how can I structure the following so that "if exists" doesn't cause an error?
ihQuery.SQL.Clear;
ihQuery.SQL.Add( 'drop index patno if exists on records' );
ihQuery.ExecSQL;
Thanks, Jim Sawyer