【问题标题】:Am I running a 32-bit or 64 bit Sql Server我运行的是 32 位还是 64 位 Sql Server
【发布时间】:2013-12-27 15:29:16
【问题描述】:

当我运行 select @@version 时,我得到以下信息:我认为 Intel X86 意味着我正在运行 32 位版本 - 但最后我也看到了 X64....

Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (Intel X86) 2012 年 6 月 28 日 08:42:37
版权所有 (c) Microsoft Corporation Express Edition with Advanced Services on Windows NT 6.1 (Build 7601: Service Pack 1) (WOW64)

当我运行 Exec master.dbo.xp_msver 时,我得到以下信息:

1   ProductName NULL    Microsoft SQL Server
2   ProductVersion  655410  10.50.4000.0
3   Language    1033    English (United States)
4   Platform    NULL    NT INTEL X86
5   Comments    NULL    SQL
6   CompanyName NULL    Microsoft Corporation
7   FileDescription NULL    SQL Server Windows NT
8   FileVersion NULL    2009.0100.4000.00 ((KJ_PCU_Main).120628-0827 )
9   InternalName    NULL    SQLSERVR
10  LegalCopyright  NULL    Microsoft Corp. All rights reserved.
11  LegalTrademarks NULL    Microsoft SQL Server is a registered trademark of Microsoft Corporation.
12  OriginalFilename    NULL    SQLSERVR.EXE
13  PrivateBuild    NULL    NULL
14  SpecialBuild    262144000   NULL
15  WindowsVersion  498139398   6.1 (7601)
16  ProcessorCount  4   4
17  ProcessorActiveMask 15  0000000f
18  ProcessorType   586 PROCESSOR_INTEL_PENTIUM
19  PhysicalMemory  8073    8073 (8465080320)
20  Product ID  NULL    NULL

【问题讨论】:

  • WOW64表示windows 64位,但sql server是32位
  • 您正在 64 位操作系统上运行 32 位应用程序 (SQL Server 2008 R2)。 Microsoft 的 Windows 32 位 On Windows 64 位(又名WOW)技术使这样的事情成为可能。这就是为什么您会在查询输出中描述您的操作系统的文本末尾看到 WOW64 字符串。

标签: sql-server sql-server-2008 sql-server-2008-r2


【解决方案1】:

我明白了:

Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64) 

所以是的 - X86 表示 32 位,在我的情况下,X64 表示 64 位

exec master.dbo.xp_msver 返回:

4   Platform    NULL    NT x64

再说一遍 - x64 = 64 位,而你的说 X86 = 32 位

【讨论】:

    【解决方案2】:

    这:Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (Intel X86) 表示您正在运行 32 位 (X86) 版本。

    【讨论】:

      【解决方案3】:
      SELECT @@VERSION 
      

      还会为您提供数据路径宽度(32 位或 64 位):

      Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) 
          Jun 17 2011 00:54:03 
          Copyright (c) Microsoft Corporation
          Enterprise Edition (64-bit) on Windows NT 6.1 **<X64>** (Build 7601: Service Pack 1)
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2016-02-06
        • 2015-04-17
        • 1970-01-01
        • 2013-08-08
        • 2012-03-17
        • 2018-06-14
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多