database mail

  • hi everyone,

    anyone have a query that selects and returns the default mail profile for a sql server?

    thanks

  • SELECT * FROM msdb.dbo.sysmail_principalprofile

    There is a column IsDefault..

    You can get a list of profiles with sysmail_help_profile_sp.

    CEWII

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply