|
AskSQLTeam
Ask SQLTeam Question
USA
0 Posts |
Posted - 01/08/2003 : 08:57:44
|
Laurence writes "We have an application that queries a SQL 2000 (SP1) database. In general the application runs well, but occasionally a query is run that causes a Foreign Key violation.
I have tried using Profiler to capture these by adding Errors and Warnings fields to the Events and filtering for Error Equals 547. However this only captures an entry noting the error occurred, not the SQL that caused it. I know the name of the table affected, and that the query is an INSERT, but there are too many inserts to the table happening (that work) to capture them all and scan them manually.
Any answer to the above much appreciated.
Laurence" |
|