Answers for "sql empty table"

SQL
2

query to empty table data in sql server

TRUNCATE TABLE  table_name;
Posted by: Guest on May-28-2020
2

truncate table

TRUNCATE TABLE table;
Posted by: Guest on April-06-2020
3

sql empty table

-- 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 "SQL"

Browse Popular Code Answers by Language