운영/운영 업무 자동화
2014. 3. 25.
SQL Server Database Mail 삭제 프로시저
There are two system stored procedures you can take advantage of in order to clean up Database Mail messages, ttachments and log entries stored in the msdb database. These two system stored procedures are sysmail_delete_mailitems_sp and sysmail_delete_log_sp. You can execute the sysmail_delete_mailitems_sp stored procedure located in the msdb database to: delete all mail messages delete messages..