IFX_UNLOAD_MODULE Function
Argument | Description | Restrictions | Syntax |
---|---|---|---|
module_name | Full pathname of file to unload | Shared-object file must exist and be unused. Pathname can be up to 255 bytes long. | Quoted String |
- Zero (
0
) to indicate success - A negative integer to indicate an error.
The IFX_UNLOAD_MODULE function can only unload an unused shared-object file; that is, when no executing SQL statements (in any database) are using any UDRs in the specified shared-object file. If any UDR in the shared-object file is currently in use, then IFX_UNLOAD_MODULE raises an error.
EXECUTE FUNCTION ifx_unload_module (“/usr/apps/opaque_types/circle.so”, “C”);
EXECUTE FUNCTION ifx_unload_module (“C:\usr\apps\opaque_types\circle.dll”, “C”);
For more information about using the built-in IFX_REPLACE_MODULE( ) and IFX_UNLOAD_MODULE( ) UDR definition routines, see the HCL OneDB™ User-Defined Routines and Data Types Developer's Guide and the HCL OneDB DataBlade® API Programmer's Guide.