Sql Server: Finding translation errors (rollback reason) -
is there way in sql server view reason transaction failed?
i have 3rd party application supposed insert data database, reason, 1 of inserts fail, hence transaction fails. have used profiler , able see statement of transaction. looks fine, cannot figure out how cause of transaction rollback. can see identity of transaction (based on time executed) in query below cannot find way of finding reason rollback.
select [current lsn], [transaction id], [operation], [transaction name], [context], [allocunitname], [page id], [slot id], [begin time], [end time], [number of locks], [lock information], [rowlog contents 1] sys.fn_dblog(null,null) operation in ('lop_abort_xact') order [begin time] desc
i have checked error log transaction not seem present there.
how can find reason sql server rejected transaction?
Comments
Post a Comment