379
submitted 10 months ago by rr7 to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] EmasXP 7 points 10 months ago

As a side note, DBeaver actually asks for confirmation if it thinks you are about to do something wonky. I think it's quite telling just how common this mistake is. We've all been there

[-] marcos 3 points 10 months ago

Update and delete should require a where clause. You can always use true or 1 = 1, the gain from omitting it is minimal.

The fact that no DBMS ever decided to implement this, not even as an option is quite distressing.

this post was submitted on 25 Jun 2023
379 points (99.2% liked)

Programmer Humor

30785 readers
56 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS