我试图找到哪个应用程序在 SQL Server 上打开了各种连接,所有连接都命名为“.net sqlclient 数据提供程序”。
从系统监视器我得到了机器名称;
在带有 的客户端上netstat -a -b -o | Find "SQLServer"
,我找到了 4 个连接,所有连接都是“PID 4 (ntoskrnl) ...
是”,这是 Windows,它是一个 MS SQL 服务器。
“SQL server profiler 中的跟踪进程”,使 Management Studio 崩溃。
那么,在我开始一一查杀应用程序之前,您是否知道如何追溯这种联系?
此致;
埃泽克
I have 2 identical DBs, one of the tables has C1, C2, C3 , composite key. I'm trying to get the rows from B that are not present in DB A.
I have tried many approaches, but at this time I even can't re-use this suggestion due too the late hour.
I think it should be by something like
Select * from B
where not exists
(SELECT a.C1, a.C2, a.C3
from A.table as a, b.table as b
where a.C1=b.C1
, …
Run Code Online (Sandbox Code Playgroud)