sa_external_library_unload System Procedure

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.

Description

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.

Privileges

MANAGE ANY EXTERNAL OBJECT system privilege required.

Examples

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();