(4)在定义函数时,需确保函数具有返回值,参数列表可选。当函数无参数时,避免使用形如 create or replace functionDemo() 的形式,而应使用 create or replace functionDemo 形式。(5)在编译函数时应注意。