|
在mysql中不能批量删除存储过程或函数,只能一次删除一个存储过程或函数,删除存储过程或者函数需要有该过程或者函数的alter routine权限,
mysql存储过程具体语法如下:
drop { procedure | function } [ if exists] sp_name
例如:使用DRop语法删除 xuyi.net过程;
mysql>drop producdure xuyi.net;
query OK,0 rows affected (0.00 sec)
上面是删除存储过程,
删除过程方法也一样
drop 方法名称
drop xuyi.net; |
|