Skip Headers
Oracle® Database SQL Language Reference
11g Release 2 (11.2)

Part Number E26088-02
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
PDF · Mobi · ePub
SQLRF52082

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(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) ...

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

Reader Comment

   

Comments, corrections, and suggestions are forwarded to authors every week. By submitting, you confirm you agree to the terms and conditions. Use the OTN forums for product questions. For support or consulting, file a service request through My Oracle Support.

Hide Navigation

Quick Lookup

Database Library · Master Index · Master Glossary · Book List · Data Dictionary · SQL Keywords · Initialization Parameters · Advanced Search · Error Messages

Main Categories

This Document

New and changed documents:
RSS Feed HTML RSS Feed PDF