SQL Server error code
SQL Server error 586
SQL Server raises error 586 at severity 16, which marks a problem with the query or data that you can correct.
The prepared statement handle %d is not valid in this context. Please verify that current database, user default schema, and ANSI_NULLS and QUOTED_IDENTIFIER set options are not changed since the handle is prepared.
| Msg | 586 |
|---|---|
| Severity | 16 |
| Group | 0–999 |