alter database [master] set TRUSTWORTHY on EXEC sp_changedbowner 'sa'
--启动CLR exec sp_configure 'show advanced options', '1'; go reconfigure; go exec sp_configure 'clr enabled', '1' go reconfigure; exec sp_configure 'show advanced options', '1'; go
use master
GRANT EXTERNAL ACCESS ASSEMBLY TO Air_User
参考一个具体的错误
------------
备注其它
/* 查看表占用空间 */
exec sp_spaceused wordnet
exec sp_spaceused wordnet_bad
/* 字符串MD5加密 */
select sys.fn_VarBinToHexStr(hashbytes('MD5','123456')) as md5