Seaquel
SQL Server error code

SQL Server error 3997

SQL Server raises error 3997 at severity 16, which marks a problem with the query or data that you can correct.

A transaction that was started in a MARS batch is still active at the end of the batch. The transaction is rolled back.
Msg3997
Severity16
Group3000–3999

Source: Database Engine events and errors