Unloads an external library.
Syntax
sa_external_library_unload ( [ 'external-library' ] )
Parameters
- external-library – optionally use this LONG VARCHAR parameter to specify the
name of a library to be unloaded. If no library is specified, all external
libraries that are not in use are unloaded.
Privileges
You must have EXECUTE
privilege on the system procedure.
You must also have the MANAGE
ANY EXTERNAL OBJECT system privilege.
Remarks
If an external library is specified, but is in use or is not
loaded, an error is returned. If no parameter is specified, an error
is returned if no loaded external libraries are found.
Example
Unload an external library called myextlib.dll:
CALL sa_external_library_unload( 'myextlib.dll' );
Unload all libraries that are not currently in use:
CALL sa_external_library_unload();