KILL QUERY NOTIFICATION SUBSCRIPTION
admin
What changes
- Input
- subscription id
- Output or change
- removes query notification subscriptions
Syntax at a glance
KILL QUERY NOTIFICATION SUBSCRIPTION { ALL | subscription_id }
Work example
A controlled task needs the behavior documented for KILL QUERY NOTIFICATION SUBSCRIPTION before it is added to a batch.
Read the linked Microsoft syntax and test KILL QUERY NOTIFICATION SUBSCRIPTION with synthetic input in an isolated database. Record its scope, permissions, and error path.
Check your work KILL QUERY NOTIFICATION SUBSCRIPTION. The observed KILL QUERY NOTIFICATION SUBSCRIPTION behavior matches its written purpose and the test has no effect on permanent data or credentials.
Open Microsoft Learn for full syntax, permissions, and details for your version.