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

 

参考一个具体的错误

http://topic.csdn.net/u/20090424/23/2f6b3abe-0fa5-46ea-977a-b8c124f09b93.html?seed=1222553149&r=59670172#r_59670172

 

------------

备注其它

/* 查看表占用空间 */

exec sp_spaceused wordnet

exec sp_spaceused wordnet_bad

/* 字符串MD5加密 */

select sys.fn_VarBinToHexStr(hashbytes('MD5','123456')) as md5

相关文章:

  • 2021-06-04
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2021-06-29
  • 2021-09-02
  • 2021-10-04
  • 2021-06-22
猜你喜欢
  • 2021-07-07
  • 2021-11-23
  • 2021-12-12
  • 2021-10-23
  • 2021-10-23
  • 2021-11-23
相关资源
相似解决方案