Mapping functions with different names
You can create a mapping between two functions (or a database function template and a data source function) that have different names.
About this task
To create a mapping between two functions with different names, issue the CREATE FUNCTION MAPPING statement:
Procedure
- Assign the name of the database function or function template to the function_name parameter.
- Specify a function mapping option called REMOTE_NAME and assign the name of the data source function to this option. The REMOTE_NAME must be less than 255 characters.
Example
CREATE FUNCTION MAPPING ORACLE_UPPER FOR SYSFUN.UCASE(CHAR)
SERVER ORACLE2 OPTIONS
(REMOTE_NAME 'UPPERCASE')