r/ProgrammerHumor • • Oct 14 '25

Advanced neverForget

Post image
14k Upvotes

616 comments sorted by

View all comments

Show parent comment

2

u/BigBossYakavetta Oct 14 '25

There is big difference between DELETE FROM <table>; and TRUNCATE <table>;

1

u/MrDilbert Oct 14 '25

Yes, DELETE FROM is more dangerous, as it can delete records from other tables as well.