DELETE all rows

suggest change

Omitting a WHERE clause will delete all rows from a table.

DELETE FROM Employees

See TRUNCATE for why it can be faster: it does not fire DELETE triggers, and many engines log page deallocation instead of each removed row. Indexes are emptied too; they are not left unchanged.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents