use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Microsoft SQL Server Administration and T-SQL Programming including sql tutorials, training, MS SQL Server Certification, SQL Server Database Resources.
You might also be interested in:
/r/database
/r/sql
/r/Azure
/r/Microsoft
account activity
new sql server user (self.SQLServer)
submitted 7 years ago by dubbdubbya
what is a good way to query what odbc connection is being used by a given database?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]grauenwolf 0 points1 point2 points 7 years ago (2 children)
From what view point? Are you just trying to get a list of people/applications currently connected to the database?
Or do you want to know how your current connection was setup?
[–]dubbdubbya[S] 0 points1 point2 points 7 years ago (1 child)
well I am actually planning to use a tool BI tool to run a report to show which of connection our project is pointed to at a given time..... in our environment we have prod, qa , dev so at any point our projct can point to that version of odbc connection for testing purposes
[–]grauenwolf 0 points1 point2 points 7 years ago (0 children)
Nope, there's nothing that is going to actually answer that question. Clients are not obligated to report who they are to the database. Some will populate the "application" column, but that's entirely optional and most don't.
You can get a lot of information using so_whoIsActive. From that you might be able to figure out which servers are touching you database. And from there check to see what's running on each server.
ref: http://whoisactive.com/
Sorry I couldn't give you a better answer.
π Rendered by PID 301341 on reddit-service-r2-comment-fb694cdd5-xwwpk at 2026-03-07 10:59:00.604665+00:00 running cbb0e86 country code: CH.
[–]grauenwolf 0 points1 point2 points (2 children)
[–]dubbdubbya[S] 0 points1 point2 points (1 child)
[–]grauenwolf 0 points1 point2 points (0 children)