SQL Server error code
SQL Server error 497
SQL Server raises error 497 at severity 16, which marks a problem with the query or data that you can correct.
Variables are not allowed in the TABLESAMPLE or REPEATABLE clauses.
| Msg | 497 |
|---|---|
| Severity | 16 |
| Group | 0–999 |