• Tsql 获取服务器信息


    Tsql 获取服务器属性,如服务器版本。服务器名

    ref:http://technet.microsoft.com/zh-cn/library/ms174396.aspx

    select serverproperty ('servername') 
    select serverproperty ('BuildClrVersion');
    select serverproperty ('Collation');
    select serverproperty ('CollationID');
    select serverproperty ('ComparisonStyle');
    select serverproperty ('ComputerNamePhysicalNetBIOS');
    select serverproperty ('Edition');
    select serverproperty ('EditionID');
    select serverproperty ('EngineEdition');
    select serverproperty ('HadrManagerStatus');
    select serverproperty ('InstanceName');
    select serverproperty ('IsClustered');
    select serverproperty ('IsFullTextInstalled');
    select serverproperty ('IsHadrEnabled');
    select serverproperty ('IsIntegratedSecurityOnly');
    select serverproperty ('IsLocalDB');
    select serverproperty ('IsSingleUser');
    select serverproperty ('LCID');
    select serverproperty ('LicenseType');
    select serverproperty ('MachineName');
    select serverproperty ('NumLicenses');
    select serverproperty ('ProcessID');
    select serverproperty ('ProductVersion');
    select serverproperty ('ProductLevel');
    select serverproperty ('ResourceLastUpdateDateTime');
    select serverproperty ('ResourceVersion');
    select serverproperty ('ServerName');
    select serverproperty ('SqlCharSet');
    select serverproperty ('SqlCharSetName');
    select serverproperty ('SqlSortOrder');
    select serverproperty ('SqlSortOrderName');
    select serverproperty ('FilestreamShareName');
    select serverproperty ('FilestreamConfiguredLevel');
    select serverproperty ('FilestreamEffectiveLevel'); 
    

      类似<? phpinfo()?> 获取php 服务器信息。

  • 相关阅读:
    任务调度之Quartz.Net配置文件
    任务调度之Quartz.Net可视化界面
    任务调度之Quartz.Net基础
    Asp.Net Core中完成拒绝访问功能
    Asp.Net Core Identity中基于角色授权
    Javascript 继承 图形化展示
    Try,Catch,Finally三块中如果有Return是怎么个运行顺序
    Autofac 一个使用Demo
    Autofac
    WCF代理是怎么工作的?用代码说话
  • 原文地址:https://www.cnblogs.com/senion/p/3614256.html
Copyright © 2020-2023  润新知