KB4537347 - FIX: Error 544 occurs when you use SET IDENTITY_INSERT on temp table in SQL Server 2019

Applies to: SQL Server 2019 on LinuxSQL Server 2019 on Windows


When temp table is used in a different scope and identity insert is performed for the temp table by the SET IDENTITY_INSERT in SQL Server 2019, you may receive an error message that resembles the following:
Msg 544 Cannot insert explicit value for identity column in table


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. 


This issue is fixed in the following cumulative update for SQL Server:
About cumulative updates for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:


Learn about the terminology that Microsoft uses to describe software updates.