Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jesterpm
on Oct 29, 2021
|
parent
|
context
|
favorite
| on:
An UPDATE without a WHERE, or something close to i...
I take a similar approach. I usually want to see what I'm about to change before I change it, so I'll SELECT * FROM ... WHERE ... , then go back in the command history and delete the SELECT FROM.
meowface
on Oct 30, 2021
[–]
Same. (Also for DELETEs.) I would guess this is what a high percentage of people do.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: