Can the SQL \"truncate table\" command be used within a transaction? I am creating an app and my table has a ton of records. I want to delete all the records, but if the a
In SQL Server, you can rollback a TRUNCATE from a transaction. It does write page deallocation to the log, as you mentioned.