-- 1. To check
any blocking in SQL server
SELECT CMD, * FROM SYS.SYSPROCESSES WHERE BLOCKED > 0
-- 2. Check the
log space in the server
DBCC SQLPERF (LOGSPACE)
GO
-- 3. Check any
process is running for long time.
SP_WHO2
This blog contains posts related to data warehouse. All posts are used in my real time project and can be used as reusable codes and helpful to BI developers.
No comments:
Post a Comment