Y
Hacker News
new
|
ask
|
show
|
jobs
by
ben174
2963 days ago
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.
1 comments
mark-wagner
2963 days ago
For mysql it is "--i-am-a-dummy". I wish SQL supported putting the where clause first: "where X = Y update..."
link