Seaquel
SQL Server error code

SQL Server error 5345

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

Both OFFSET and LENGTH parameters have to be provided together with inline schema (WITH clause).
Msg5345
Severity16
Group5000–5999

Source: Database Engine events and errors