SQL Server error code
SQL Server error 8684
SQL Server raises error 8684 at severity 16, which marks a problem with the query or data that you can correct.
A query plan could not be found because optimizer exceeded number of allowed operations while searching for plan specified in USE PLAN hint. First consider removing USE PLAN hint. Then if necessary consider (1) updating statistics, (2) using other hints such as join hints, index hints, or the OPTIMIZE FOR hint, (3) rewriting query or breaking it down into two or more separate queries.
| Msg | 8684 |
|---|---|
| Severity | 16 |
| Group | 8000–8999 |