This commit is contained in:
2024-01-31 13:48:53 +01:00
parent dad06ddc93
commit 48c2c9e659
5 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{
"id": "d51f5094-34a8-4d58-804f-b9e2e535e5f7",
"prefix": "check_mail_log",
"description": "list entries from dbmail that had an error",
"body": "SELECT \r\n l.[log_id]\r\n ,l.[log_date]\r\n ,l.[description]\r\n ,i.[mailitem_id]\r\n ,i.[recipients]\r\n ,i.[subject]\r\n ,i.[body]\r\nFROM msdb.dbo.[sysmail_log] l\r\n JOIN msdb.dbo.[sysmail_allitems] i ON i.[mailitem_id]=l.[mailitem_id]"
}