SQL Server error code
SQL Server error 1766
SQL Server raises error 1766 at severity 16, which marks a problem with the query or data that you can correct.
Foreign key references to temporary tables are not supported. Foreign key '%.*ls'.
| Msg | 1766 |
|---|---|
| Severity | 16 |
| Group | 1000–1999 |