SQL Server error code
SQL Server error 1057
SQL Server raises error 1057 at severity 15, which marks a problem with the query or data that you can correct.
The IDENTITY function cannot be used with a SELECT INTO statement containing a UNION, INTERSECT or EXCEPT operator.
| Msg | 1057 |
|---|---|
| Severity | 15 |
| Group | 1000–1999 |