Seaquel
SQL Server error code

SQL Server error 345

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

Function '%.*ls' is not allowed in the OUTPUT clause, because it performs user or system data access, or is assumed to perform this access. A function is assumed by default to perform data access if it is not schemabound.
Msg345
Severity16
Group0–999

Source: Database Engine events and errors