Oracle PL/SQL 函数
FUNCTION name [(parameter[,parameter,...])]
RETURN datatypes
IS
[local declarations]
BEGIN
execute statements
[EXCEPTION
exception handlers]
END [name]
RETURN datatypes
IS
[local declarations]
BEGIN
execute statements
[EXCEPTION
exception handlers]
END [name]