Why do I have to include the “workstation id” and “application name” attributes in the Database Connection String in order to query a view properly?
问题 At our workplace, we have an ASP.NET application that uses Microsoft SQL Server 2016 Web Edition Database Server for the back-end database. At first, In the ASP.NET application web.config, I configured the Database Connection String to be: Password=blahPasswordblah; Persist Security Info=True; User ID=sa; Initial Catalog=yadaDatabaseNameyada; Data Source=blahDNSServerNameblah\yadaSQLServerInstanceNameyada It seemed to connect properly. However, I noticed something strange when the code in the