Failed to CREATE AN ASSEMBLY in SQL

前端 未结 5 688
走了就别回头了
走了就别回头了 2021-01-01 12:51

I\'ve already dived into SQL clr programming. Unfortunately my first attempt is troubled. My C# assembly code is just so:

enter code here
public partial clas         


        
5条回答
  •  难免孤独
    2021-01-01 13:12

    USE master 
    GO 
    CREATE ASSEMBLY [Chapter2.FirstCLRRoutine] 
    FROM 'D:\projeler\SQL_CLR\SQL_CLR\bin\Debug\SQL_CLR.dll' 
    WITH PERMISSION_SET = UNSAFE
    

    Try that, and let me know if that works.

提交回复
热议问题