a-if

  • Blog

Deleting All Data in Table with Truncate vs Delete Command

Written by

Hotaru

at

2024-08-07 18:04:29 (GMT+0700)

Just a reminder for myself if need to delete all data in table I think it is better to use truncate.

Reference:

  • SQL Delete Vs. SQL Truncate By Simplilearn
  • SQL DROP TABLE and TRUNCATE TABLE Keywords
Category: Fixes

←Prev
Early Return
Next→
Export DBeaver Database