i want to know how to drop a constraint only if it exists. is there any single line statement present in mysql server which will allow me to do this.
i have tried the following command but unable to get the desire output
alter table airlines drop foreign key if exits FK_airlines;
any help to this really help me to go forward in mysql