SQL: List Database Connections for specific user

Code (SQL Statement) starts here
select *
from master..sysprocesses
where loginame = ‘connexin.cim’ –and hostname=’COMPUTERNAME’
order by hostname
Code (SQL Statement) ends here

Yorumlar

Bu blogdaki popüler yayınlar

TERMINAL SERVICES UNLIMITED

Debugging Group Policy Processing

Windows 7: Optional update delivery is not working - “You may be a victim of software counterfeiting.”