Seaquel
SQL Server error code

SQL Server error 1077

SQL Server raises error 1077 at severity 15, which marks a problem with the query or data that you can correct.

INSERT into an identity column not allowed on table variables.
Msg1077
Severity15
Group1000–1999

Source: Database Engine events and errors