gpt4 book ai didi

sql-server - 检查SQL Server数据库上的托管程序集版本

转载 作者:行者123 更新时间:2023-12-03 09:58:32 26 4
gpt4 key购买 nike

我需要找出部署到SQL Server数据库的程序集的版本。
我需要通过脚本或其他编程方式来执行此操作,以了解是否需要重新部署程序集。

有任何想法吗?

谢谢。

最佳答案

这应该有所帮助。

Syntax
ASSEMBLYPROPERTY('assembly_name', 'property_name')
assembly_name Is the name of the assembly.

property_name Is the name of a property about which to retrieve information. property_name can be one of the following values.

Value
CultureInfo Locale of the assembly.
PublicKey Public key or public key token of the assembly.
MvID Complete, compiler-generated version identification number of the assembly.

VersionMajor Major component (first part) of the four-part version identification number of the assembly.

VersionMinor Minor component (second part) of the four-part version identification number of the assembly.

VersionBuild Build component (third part) of the four-part version identification number of the assembly.

VersionRevision Revision component (fourth part) of the four-part version identification number of the assembly.
SimpleName Simple name of the assembly.
Architecture Processor architecture of the assembly.
CLRName Canonical string that encodes the simple name, version number, culture, public key, and architecture of the assembly. This value uniquely identifies the assembly on the common language runtime (CLR) side.

关于sql-server - 检查SQL Server数据库上的托管程序集版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1565076/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com