【发布时间】:2023-03-10 21:17:01
【问题描述】:
为什么有些连接字符串是Data Source = address; Initial Catalog = dbname;.... 而有些是Server=address;database=dbname;...?使用“数据源”和“服务器”有什么区别?
【问题讨论】:
标签: sql-server connection-string
为什么有些连接字符串是Data Source = address; Initial Catalog = dbname;.... 而有些是Server=address;database=dbname;...?使用“数据源”和“服务器”有什么区别?
【问题讨论】:
标签: sql-server connection-string
there is no difference between Server and Data Source as they represent
the same thing for SQL Server : the full name of the SQL Server instance with
the syntax "MyComputerName\MyShortInstanceName" , potentially including the
port used by the SQL Server instance to communicate.
Data Source
-or-
Server
-or-
Address
-or-
Addr
-or-
Network Address
是同义词
what is the difference between using data source = and using server = in connection string
“Server” vs “Data Source” in connection string
【讨论】: