drop all rows on sql table code example
Example 1: delete all records from table
DELETE FROM table_name;
Example 2: drop all data from tables
DELETE FROM my_table; -- all rows, needs a COMMIT to validate
TUNCATE TABLE my_table; -- all rows, quicker, no possible roolback