A function expression is an expression that can be a built-in SQL function or a user-defined function.
The following are some valid built-in function expressions:
LENGTH('OCEAN1BASE')ROUND(1234.5678*49)SYSDATE
A user-defined function expression calls:
A function in a custom package, type, or standalone function.
A custom function or operator.
The following are some valid user-defined function expressions:
circle_area(radius)payroll.tax_rate(emp_name)hr.emp.comm_pct@remote(dependents, empid)DBMS_LOB.getlength(col_name)my_function(a_column)
When you use a user-defined function as an expression, you can use positional notation, named notation, or mixed notation. For example, the following notations are valid:
CALL my_function(arg1 => 3, arg2 => 4) ...
CALL my_function(3, 4) ...
CALL my_function(3, arg2 => 4) ...
Note
User-defined function expressions cannot pass object types or XMLType parameters to remote functions or procedures.
