编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
Mysql参考手册

20.2.3. DROP PROCEDURE和DROP FUNCTION

DROP {PROCEDURE | FUNCTION} [IF EXISTS] sp_name
  
    

这个语句被用来移除一个存储程序或函数。即,从服务器移除一个制定的子程序。在MySQL 5.1中,你必须有ALTER ROUTINE权限才可用此子程序。这个权限被自动授予子程序的创建者。

IF EXISTS 子句是一个MySQL的扩展。如果程序或函数不存储,它防止发生错误。产生一个可以用SHOW WARNINGS查看的警告。

相关文章
mysql alter procedure和alter functionmysql create function/drop function语法mysql create procedure和create functionmysql drop database语法mysql drop index语法mysql drop procedure和drop functionmysql drop table语法mysql drop trigger语法mysql drop view语法mysql show create procedure和show create functionmysql show procedure status和show function statusphp swoole 函数 check if a timer callback function is existedphp uopz 函数 provide a return value for an existing functionphp imagick applies a function on the imagephp mysql xdevapi collection drop collection indexphp mysql xdevapi schema drop collection from schemaphp mysql xdevapi session drop a schemaphp reflectionfunction returns a dynamically created closure for the functionphp sqlite3 registers a php function for use as an sql collating functionphp swoole mysql register callback function based on event name.
关注编程学问公众号
编程学问网 湘ICP备20001732号