Answers for "difference between delete and truncate in sql server"

SQL
4

ms sql truncate table vs delete

-- Quick, no possible rollback
TRUNCATE TABLE my_table;
-- With possible rollback
DELETE FROM my_table;
COMMIT;  -- or ROLLBACK;
Posted by: Guest on February-27-2021

Code answers related to "difference between delete and truncate in sql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language