Invoke a user-defined function in an expression
You can invoke a user-defined function in an expression in the select list of a SELECT statement, or in the WHERE clause of an INSERT, SELECT, UPDATE, or DELETE statement.
For example,
with the factorial function described in Invoke a function, you might write the following
SELECT statement:
SELECT * FROM tab_1 WHERE nFact(col1) > col3