SQL Server error code
SQL Server error 4508
SQL Server raises error 4508 at severity 16, which marks a problem with the query or data that you can correct.
Views or functions are not allowed on temporary tables. Table names that begin with '#' denote temporary tables.
| Msg | 4508 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |