DBCC dllname (FREE) (Transact-SQL)
Applies To: SQL Server 2014, SQL Server 2016 Preview
Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
Unloads the specified extended stored procedure DLL from memory.
Applies to: SQL Server (SQL Server 2008 through current version).
When an extended stored procedure is executed, the DLL remains loaded by the instance of SQL Server until the server is shut down. This statement allows for a DLL to be unloaded from memory without shutting down SQL Server. To display the DLL files currently loaded by SQL Server, execute sp_helpextendedproc
When a valid DLL is specified, DBCC dllname (FREE) returns:
DBCC execution completed. If DBCC printed error messages, contact your system administrator.