SQL Flow Field Guide

sysmail_update_principalprofile_sp

Check SQL Server version support in the source

Updates the information for an association between a principal and a profile.

What changes

Input
Not stated in the Microsoft summary.
Output or change
Updates the information for an association between a principal and a profile.

Syntax at a glance

dbo.sysmail_update_principalprofile_sp
    { [ @principal_id = ] principal_id
        | [ @principal_name = ] N'principal_name' }
    , { [ @profile_id = ] profile_id
        | [ @profile_name = ] N'profile_name' }
    , [ @is_default = ] is_default
[ ; ]

Work example

Updates the information for an association between a principal and a profile.

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.