How to drop function if it already exist in mysql -
i have defined custom function in mysql (using rails 3 btw), beginning of definition that
create function source_name(source int(10))
this function works fine need drop mysql drop function
statement.
this list of i've tried already, none works, raise exceptions:
drop function if exists source_name; drop function if exists source_name drop function if exists source_name(); drop function if exists source_name() drop function if exists 'source_name' drop function if exists 'source_name';
and have no idea next, every example find online looks different...
Comments
Post a Comment