Answers:
默认情况下,实例名称用作实例ID。实例ID用于标识SQL Server实例的安装目录和注册表项。默认实例和命名实例就是这种情况
(来源:http : //msdn.microsoft.com/en-us/library/ms143531 (v= sql.120 ) .aspx)
安装SQL 2008 r2步骤:http : //blogs.msdn.com/b/petersad/archive/2009/12/17/sql-server-2008-r2-sysprep-step-by-step.aspx
我什至不是初学者,但全部都是Jerry Dodge提供给您的参考资料。
INSTANCE NAME =像声明的那样附加到服务器名称。当您尝试连接到SQL数据库时,您需要服务器能够进入。这一切与托管数据库的物理机或虚拟机的网络和属性有关。
实例ID =附加到SQL实例名称。一旦提供了实例名称(即服务器名称的PATH),便需要INSTANCE ID才能进入您的程序和DATABASE路径以及所有其他软件许可要求。
一个是物理或虚拟计算机和网络,另一个是到数据库存储的物理或逻辑路径。
这将帮助您了解差异。
[http://msdn.microsoft.com/zh-cn/library/ms143531(v=sql.120).aspx][1]
USE master;
SELECT SERVERPROPERTY('BuildClrVersion') AS [BuildClrVersion]
, SERVERPROPERTY('ComputerNamePhysicalNetBIOS') AS ComputerNamePhysicalNetBIOS
, SERVERPROPERTY('ServerName') AS [ServerName]
, SERVERPROPERTY('InstanceName') AS [InstanceName]
, SERVERPROPERTY('Collation') AS [Collation]
, SERVERPROPERTY('ComparisonStyle') AS [ComparisonStyle]
, SERVERPROPERTY('Edition') AS [Edition]
, SERVERPROPERTY('EngineEdition') AS [EngineEdition]
, SERVERPROPERTY('IsClustered') AS [IsClustered]
, SERVERPROPERTY('IsFullTextInstalled') AS [IsFullTextInstalled]
, SERVERPROPERTY('IsIntegratedSecurityOnly') AS [IsIntegratedSecurityOnly]
, SERVERPROPERTY('IsSingleUser') AS [IsSingleUser]
, SERVERPROPERTY('LCID') AS [LCID]
, SERVERPROPERTY('LicenseType') AS [LicenseType]
, SERVERPROPERTY('MachineName') AS [MachineName]
, SERVERPROPERTY('NumLicenses') AS [NumLicenses]
, SERVERPROPERTY('ProcessID') AS [ProcessID]
, SERVERPROPERTY('ProductVersion') AS [ProductVersion]
, SERVERPROPERTY('ProductLevel') AS [ProductLevel]
, SERVERPROPERTY('ResourceLastUpdateDateTime') AS [ResourceLastUpdateDateTime]
, SERVERPROPERTY('ResourceVersion') AS [ResourceVersion]
, SERVERPROPERTY('SqlCharSetName') AS [SqlCharSetName]
, SERVERPROPERTY('SqlSortOrder') AS [SqlSortOrder]
, SERVERPROPERTY('SqlSortOrderName') AS [SqlSortOrderName];
GO
编辑:
实例名称:SQL Server的名称-DEFAULT INSTANCE,Name INSTANCE(您为特定实例指定一个名称)
InstanceID:这与实例名称有关。例如:当您按下默认实例时,它将是SQLSERVER生成的字段instanceid或您的名称生成的instanceid。