• Mr. Bird^_^

    I learned a lot from your article. thanks a lot.

    If it is allowed to use sp_cmdshell, we can use findstr, that is a windows command, to find the error message we cared in SQL ERRORLOG. It is more efficient.