Unloading an Extended Stored Procedure DLL

Extended Stored Procedure Programming

Extended Stored Procedure Programming

Unloading an Extended Stored Procedure DLL

Microsoft® SQL Server™ loads an extended stored procedure DLL as soon as a call is made to one of the functions of the DLL. The DLL remains loaded until the server is shut down or until the system administrator uses the DBCC statement to unload it. For example, this command unloads Xp_hello.dll, allowing the system administrator to copy a newer version of this file to the directory without shutting down the server:

DBCC xp_hello(FREE)

This is in a sample only available if you select Dev Tools during setup.

See Also

DBCC dllname (FREE)