Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 find out applications

Author  Topic 

funketekun
Constraint Violating Yak Guru

491 Posts

Posted - 2007-08-03 : 16:24:28
how do i find out what application is using certain DB?.


=============================
http://www.sqlserverstudy.com

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2007-08-03 : 16:28:16
use APP_NAME()

_______________________________________________
Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
Go to Top of Page

funketekun
Constraint Violating Yak Guru

491 Posts

Posted - 2007-08-03 : 16:35:52
it says only query analyzer. I want to find out all the app.

=============================
http://www.sqlserverstudy.com
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-08-03 : 16:43:49
select program_name, * from sysprocesses



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -