function_declaration ::= FUNCTION function_name [(parameter_declaration [, parameter_declaration]...)] RETURN datatype [ PIPELINED ] { IS | AS }