Log query errors

  • Hi,

    I would like to log the queries which execution causes an error, to detect errors on my applications the user can´t see, for example, if I forgot to fill a field and them have an insert like

    insert into table (A,B) values (,valueB)

    this causes an error but maybe the user dont see this error, I want to tack this errors to improve my application.

    Thnaks in advance

  • You can setup a trace to do that. Look into the Errors and Warnings Event Category:

    http://technet.microsoft.com/en-us/library/ms177448.aspx

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply