sp_add_proxy
Adds the specified SQL Server Agent proxy.
What changes
- Input
- Not stated in the Microsoft summary.
- Output or change
- Adds the specified SQL Server Agent proxy.
Syntax at a glance
dbo.sp_add_proxy
[ @proxy_name = ] N'proxy_name'
[ , [ @enabled = ] enabled ]
[ , [ @description = ] N'description' ]
, { [ @credential_name = ] N'credential_name'
| [ @credential_id = ] credential_id }
[ , [ @proxy_id = ] proxy_id OUTPUT ]
[ ; ]
Work example
Adds the specified SQL Server Agent proxy.
Write a proposed call on paper. Name the target, required permission, expected change, and recovery step before any lab use.
Check your work What can this procedure change or start, and what permission does it need?
Open Microsoft Learn for full syntax, permissions, and details for your version.