Skip to content

Update Blocking Monitoring.sql #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Imran-imtiaz48
Copy link

Comments & Documentation: Clearer instructions and links.
Validation: Script checks if sp_WhoIsActive is installed.
Output Columns: No spaces in @output_column_list to avoid runtime errors.
Error Handling: Use of IF OBJECT_ID to prevent script errors.
Formatting: Improved readability via indentation and sectioning.
CROSS APPLY: Use r.sql_handle instead of r.plan_handle for sys.dm_exec_sql_text, which is the correct parameter.

Comments & Documentation: Clearer instructions and links.
Validation: Script checks if sp_WhoIsActive is installed.
Output Columns: No spaces in @output_column_list to avoid runtime errors.
Error Handling: Use of IF OBJECT_ID to prevent script errors.
Formatting: Improved readability via indentation and sectioning.
CROSS APPLY: Use r.sql_handle instead of r.plan_handle for sys.dm_exec_sql_text, which is the correct parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant