You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our implementation for SQL Server is incorrect because SET IDENTITY_INSERT table_name ON is only valid when the table does actually have an identity column. I see a few options:
Have a flag indicating if the statement should be generated
Have a separate method e.g. InsertDataOverridingIdentity 😸
Query for schema metadata in the SQL (might not work if we don't have enough permissions).