我已经创建了一个 SQL CLR 用户定义函数并将其部署到 SQL Server 实例上的数据库,它在其中正常工作。
SQL Server 在哪里存储已部署的 CLR 程序集?它们是否存储在文件系统中的某个位置?
最佳答案
已部署的用户 CLR 程序集存储在您将它们部署到的数据库中,而不是文件系统中。
执行
SELECT * FROM sys.assembly_files
名为 content
的列包含二进制数据是程序集。
参见 CREATE ASSEMBLY
:
Creates a managed application module that contains class metadata and managed code as an object in an instance of SQL Server. By referencing this module, common language runtime (CLR) functions, stored procedures, triggers, user-defined aggregates, and user-defined types can be created in the database
关于c# - SQL Server 在哪里存储已部署的 CLR 程序集?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27977595/