Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- SQL
- GIT
- plugin
- Spring
- SSL
- SPC
- Java
- mybatis
- vaadin
- R
- react
- Android
- window
- MSSQL
- es6
- Kotlin
- Express
- Sqoop
- Eclipse
- NPM
- hadoop
- xPlatform
- 보조정렬
- JavaScript
- table
- IntelliJ
- Python
- 공정능력
- tomcat
- mapreduce
Archives
- Today
- Total
DBILITY
mssql connection 확인 본문
반응형
SELECT
DB_NAME(dbid) AS DB_NAME
,COUNT(dbid) AS NUMBER_OF_CONNECTIONS
,loginame AS LOGIN_NAME
,MIN(login_time) AS FIRST_LOGIN_TIME
,MAX(login_time) AS LAST_LOGIN_TIME
FROM sys.sysprocesses
GROUP BY dbid
,loginame
ORDER BY DB_NAME(dbid)
반응형
'database > mssql' 카테고리의 다른 글
mssql lock확인 (0) | 2021.07.05 |
---|---|
mssql server "clr enabled" 구성 옵션을 설정하십시오" (0) | 2020.06.17 |
sqlserver connect by (0) | 2019.04.25 |
테이블 전체 삭제(DROP) (0) | 2019.04.24 |
sqlserver bulk insert (0) | 2019.04.15 |
Comments