Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ben174
· 8y ago · 0 comments
There is usually an option to disable delete statements which do not contain a where clause. And if you really want to run that statement you'd need to write:
delete from ImportantTable where 1 = 1;
But yea, I get your point.
Comments
[–]
mark-wagner
8y ago
For mysql it is "--i-am-a-dummy". I wish SQL supported putting the where clause first: "where X = Y update..."