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
from master..sysprocesses
where loginame = ‘connexin.cim’ –and hostname=’COMPUTERNAME’
order by hostname
Code (SQL Statement) ends here
Yorumlar