Collecting Errors or Events from SQL Error Log


hi all

i looking way can collect error's or events occured in sql error log past 24 hours. since error log quite big , don't want read want sql script or windows script can collect errors , give me output.

any appreciated.


please vote & "mark answer" if post helpful you. cheers prakash nandwana bangalore , india

hi prakash,

you can make use of sp_readerrorlog read sql server error log. stored procedures supports parameters search through error log. more details here




pradeep adiga
blog: sqldbadiaries.com

recent posts on blog


SQL Server  >  SQL Server Tools



Comments

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607