sql - Check if database is used by another C# Application -
is there way check if sql server database (.mdf
file) opened/used c# application?
i installing c# application on multiple computers. these apps using single/same database. want determine if 1 of apps using or doing query database. possible?
use system stored procedure sp_who2
.
once result filter database name. can application name "programname" column.
run below sql statement in sql server management studio,
exec sp_who2
Comments
Post a Comment