SQL Server: How to check if CLR is enabled?
SELECT * FROM sys.configurations
WHERE name = 'clr enabled'
Check the config_value
in the results of sp_configure
You can enable CLR by running the following:
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'clr enabled', 1;
GO
RECONFIGURE;
GO
MSDN Article on enabling CLR
MSDN Article on sp_configure