.. _sql_server_configurations(SQLServer):

sys.configurations
~~~~~~~~~~~~~~~~~~~~~

该视图记录服务器运行期间，每个配置参数的信息。

.. table:: sys.configurations 列
      :widths: 3 2 4
      :class: longtable
   
      +------------------+---------------+---------------------------------------+
      | 名称             | 数据类型      | 描述                                  |
      +==================+===============+=======================================+
      | configuration_id | int           | 配置值的唯一ID                        |
      +------------------+---------------+---------------------------------------+
      | name             | nvarchar(35)  | 配置选项的名称                        |
      +------------------+---------------+---------------------------------------+
      | value            | sql_variant   | 该选项的配置值                        |
      +------------------+---------------+---------------------------------------+
      | minimum          | sql_variant   | 配置选项的最小值                      |
      +------------------+---------------+---------------------------------------+
      | maximum          | sql_variant   | 配置选项的最大值                      |
      +------------------+---------------+---------------------------------------+
      | value_in_use     | sql_variant   | 该选项当前使用的运行值                |
      +------------------+---------------+---------------------------------------+
      | description      | nvarchar(255) | 配置选项的描述                        |
      +------------------+---------------+---------------------------------------+
      | is_dynamic       | bit           | 修改配置项后是否需要重启              |
      |                  |               |                                       |
      |                  |               | 0 = 修改该配置选项后需要重启          |
      |                  |               |                                       |
      |                  |               | 1 = 修改该配置选项后需要重启          |
      +------------------+---------------+---------------------------------------+
      | is_advanced      | bit           | 目前暂不支持该字段，当前字段默认值为0 |
      +------------------+---------------+---------------------------------------+

