Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-01 13:51:57
Original
827 people have browsed it

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

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

而不是:

drop function if exists function_name;
Copy after login
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!