You can create a mapping to a function that is used by all data sources objects on a specific remote server.
Before you begin
The privileges held by the authorization ID of the statement must have SYSADM or DBADM authority.
Restrictions
You cannot override the existing function mappings or create new mappings for nonrelational data sources.
Procedure
To create a function mapping for all data source objects on a specific server, use the CREATE FUNCTION MAPPING statement.
Example: Map a function template called BONUS to a user-defined function called BONUS
CREATE FUNCTION MAPPING BONUS_CALC FOR BONUS() SERVER ORA_SALES