title: Example sql for logging exceptions to database using exception handling application block
body: <p>Can anyone provide (or point me to) example sql code for logging exceptions using Enterprise Library Exception Handling Application Block (EHAB)? ie I'd like standard CREATE TABLE and CREATE PROCEDURE statements for the structures and procs to store logged exceptions in a SQL Server database.</p>
  
  <p>Also, can anyone describe how the app block calls the procedures [WriteLogStoredProcedureName] and [AddCategoryStoredProcedureName] (e.g. what parameters should these have and how are they set) or where the documentation for this is?</p>
  
  <p>(NB: I'm using Enterprise Library 3.1 - May 2007 as I'm using .net 2.0)</p>