Background documentation-28903: DB function $1 must return a value Locate this document in the navigation structure

 

Explanation

A database function does not contain a RETURN statement, which means that it cannot return a result. This is not allowed.

User Response

Add a RETURN statement to the database function.