Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Tracing where an application's connection comes from

$
0
0

Hi,

I'm not sure if it's possible or if I even have the right discussion group but here goes.

I use the below SQL to find what applications are connecting to databases:

USE master;
GO
SELECT spid, login_time, program_name, * FROM sysprocesses
WHERE dbid = DB_ID(N'<Database Name>');

Unfortunately I have one application connecting to a database and I can see what server is connecting but I'm wondering if it's possible to see exactly where the connection comes from. Basically I want to see what file etc holds the connection details so that I can change them.

Unfortunately I know nothing about the application and I have no documentation.

Is there any way of tracing this?

Cheers

Paul


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>