Last active
May 1, 2022 17:52
-
-
Save jadiagaurang/c9b443bfd09857e6f05b626706f796cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--To Add Assembly to MSSQL | |
EXEC sp_configure 'clr strict security'; --Check Current Config | |
--Enable | |
EXEC sp_configure 'clr strict security', 1; | |
RECONFIGURE; | |
--Disable | |
EXEC sp_configure 'clr strict security', 0; | |
RECONFIGURE; | |
--To Allow Assembly to Execute | |
EXEC sp_configure 'clr enabled'; --Check Current Config | |
--Enable | |
EXEC sp_configure 'clr enabled' , 1; | |
RECONFIGURE; | |
--Disable | |
EXEC sp_configure 'clr enabled' , 0; | |
RECONFIGURE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment