Microsoft
Software
Hardware
Network
Question : Getting information about current connections in SQL Server
Hello everyone.
I am trying to make a stored procedure that checks if someone is connected to my database. If noone is connected, it will delete some records.
Everyone connects to the database using a standar username and password. Is there a function that returns the number of connections for that user or some other way to get that info?
Answer : Getting information about current connections in SQL Server
actually
sp_who2 will give you more information.....
Random Solutions
SQL Delimited Values
Moving_PLSQL_Code
OutOfMemoryException when reading users from AD
Old 3550 L3 Switch vs brand new 2851 router
To clear or not to clear ARP cache
Exchange Servers across Multiple Domains and One GAL
php session variable lifecycle
Jquery and C#
Access - timed backup from a batch file
Is it normal to get Java errors during Oracle 11g installation