Forum Discussion
hemantinsnapsys
Aug 19, 2023Copper Contributor
Issue Truncating Table with Foreign Key Constraints in Microsoft SQL Server 2022
Hi everyone, I'm currently working with Microsoft SQL Server 2022, and I'm encountering an issue when trying to truncate a table. The error message I'm receiving is as follows: "Cannot truncate ...
Aug 22, 2023
the table that you are trying to truncate is being referenced by a foreign key. that is the reason why you can't truncate