Skip Headers
Oracle® Database SQL Language Reference
11g Release 1 (11.1)

Part Number B28286-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

Function Expressions

You can use any built-in SQL function or user-defined function as an expression. Some valid built-in function expressions are:

LENGTH('BLAKE') 
ROUND(1234.567*43) 
SYSDATE 

See Also:

"About SQL Functions" and "Aggregate Functions" for information on built-in functions

A user-defined function expression specifies a call to:

Some valid user-defined function expressions are:

circle_area(radius)
payroll.tax_rate(empno)
hr.employees.comm_pct@remote(dependents, empno)
DBMS_LOB.getlength(column_name)
my_function(DISTINCT a_column)

In a user-defined function being used as an expression, positional, named, and mixed notation are supported. For example, all of the following notations are correct:

CALL my_function(arg1 => 3, arg2 => 4) ...
CALL my_function(3, 4) ...

CALL my_function(3, arg2 => 4) ...

Restriction on User-Defined Function Expressions You cannot pass arguments of object type or XMLType to remote functions and procedures.