I have an application that is trying it insert some duplicated PK values into a table and there was always an error due to the insert. I know which database and table is affected but how I can identify which fields are being inserted as duplication? I tried server profiler with the Errors and Warnings Exception event and it did show the errors, however, it didn't show what fields were being violated.
Any idea how I can identify those values?
Thanks