Answers for "What is the SQL statement to delete all the records in a table with the table structure ?"

SQL
10

delete all records from table

DELETE FROM table_name;
Posted by: Guest on June-01-2020
2

delete all rows from table sql

-- Quick, no possible rollback
TRUNCATE TABLE my_table;
-- With rollback
DELETE FROM my_table;
COMMIT;
Posted by: Guest on January-23-2021
0

delet all record statment sql

DELETE FROM category where category_model is  'NULL';
Posted by: Guest on June-05-2021

Code answers related to "What is the SQL statement to delete all the records in a table with the table structure ?"

Code answers related to "SQL"

Browse Popular Code Answers by Language