Home  >  Article  >  Database  >  mysql删除扩展库中的函数备忘_MySQL

mysql删除扩展库中的函数备忘_MySQL

WBOY
WBOYOriginal
2016-06-01 13:51:57826browse

今天在测试libmemcached的时候,反复安装,反复加载sql,语句,重复创建函数memc_*,所以再次执行SQL之前,需要删除原来的函数,删除语句:

DELETE FROM `func` WHERE `name`=function_name' LIMIT 1;

而不是:

drop function if exists function_name;
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn