Seaquel
SQL Server error code

SQL Server error 5306

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

Cursor parameters are not allowed for functions. Variable '%.*ls' is of type cursor.
Msg5306
Severity16
Group5000–5999

Source: Database Engine events and errors