Seaquel
SQL Server error code

SQL Server error 9317

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

%sSyntax error near '%ls', expected string literal.
Msg9317
Severity16
Group9000–9999

Source: Database Engine events and errors