Seaquel
SQL Server error code

SQL Server error 8685

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

Query cannot be compiled because <CursorStmt> element appears in XML plan provided to USE PLAN but USE PLAN was applied to a non-cursor statement. Consider using an XML plan obtained from SQL Server for statement without modification.
Msg8685
Severity16
Group8000–8999

Source: Database Engine events and errors