ALTER SERVICE
changes service (no row flow)
What changes
- Input
- catalog
- Output or change
- catalog: service
Syntax at a glance
ALTER SERVICE service_name [ ON QUEUE [ schema_name . ]queue_name ] [ ( < opt_arg > [ , ...n ] ) ] [ ; ]
Work example
A Service Broker service needs a contract or queue mapping update.
Trace active dialogs and queued messages before changing the accepted contracts.
Check your work New lab dialogs use the intended queue and active conversations still complete.
Open Microsoft Learn for full syntax, permissions, and details for your version.