Brad McKuhen
SQL Server DBA, Developer, Architect, Author, Presenter
Tuesday, August 18, 2015
Check if database mail is enabled
How do I check if database mail is enabled?
select case when value = 1 then 'Yes' else 'No' end as [Database Mail Enabled] from sys.configurations where name = 'Database Mail XPs' ;
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment