ALTER EXTERNAL FUNCTION
Alters the entry point and/or the module name of a user-defined function (UDF)
DSQL
ALTER EXTERNAL FUNCTION funcname [ENTRY_POINT 'new_entry_point'] [MODULE_NAME 'new_library_name']
| Parameter | Description | 
|---|---|
| funcname | Function name in the database | 
| new_entry_point | The new exported name of the function | 
| new_library_name | The new name of the module ( | 
The ALTER EXTERNAL FUNCTION statement changes the entry point and/or the module name for a user-defined function (UDF).Existing dependencies remain intact after the statement containing the change(s) is executed.
- The ENTRY_POINTclause
- 
is for specifying the new entry point (the name of the function as exported from the module). 
- The MODULE_NAMEclause
- 
is for specifying the new name of the module where the exported function is located. 
Any user connected to the database can change the entry point and the module name.