SQL Server error code
SQL Server error 322
SQL Server raises error 322 at severity 15, which marks a problem with the query or data that you can correct.
The variable "%.*ls" is specified in the OPTIMIZE FOR clause, but is not used in the query.
| Msg | 322 |
|---|---|
| Severity | 15 |
| Group | 0–999 |