Seaquel
SQL Server error code

SQL Server error 4196

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

Column '%ls.%.*ls' cannot be referenced in the OUTPUT clause because the column definition contains an expression using a window function.
Msg4196
Severity16
Group4000–4999

Source: Database Engine events and errors