MySQL只有标量值函数的概念,没有SqlServer那种表值函数。
create function f_add( a int, b int ) returns int return (select a + b); select f_add(1, 2);
alter function f_add()...
DROP FUNCTION [ IF EXISTS ] <自定义函数名>
参考:http://c.biancheng.net/view/2590.html