关于 SQL Server 连接字符串的主题,微软表示:
指定本地实例时,始终使用 (local)。
这意味着使用localhost是一个坏主意。但为什么?还是我对措辞读得太多了?
localhost
sql-server
sql-server ×1