REMOVE CLIB (Remove external C library file)
Function
REMOVE CLIB removes an external C library file used to implement an external C stored routine that has been installed on a HiRDB server.
Format
REMOVE CLIB {:embedded-variable|'character-string'} |
Operands
Specifies the name of the external C library file to remove. Specify only the file name, without a directory path.
Common rules
Example
Specify and remove an external C library file (sampleproc.dll) using an embedded variable.
EXEC SQL BEGIN DECLARE SECTION ;
struct {
short len ;
char str[256] ;
} filename ;
EXEC SQL END DECLARE SECTION ;
EXEC SQL CONNECT ;
strcpy(filename.str,"sampleproc.dll") ;
filename.len = strlen(filename.str) ;
EXEC SQL REMOVE CLIB:filename ;