sp_freedll

Description

Unloads a dynamic link library (DLL) that was previously loaded into XP Server memory to support the execution of an extended stored procedure (ESP).

Syntax

sp_freedll dll_name

Parameters

dll_name

is the file name of the DLL being unloaded from XP Server memory.

Examples

Example 1

Unloads the sqlsrvdll.dll DLL:

sp_freedll "sqlsrvdll.dll"

Usage

Permissions

Only a System Administrator can execute sp_freedll.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

System procedures sp_addextendedproc, sp_dropextendedproc, sp_helpextendedproc