Hacker News new | past | comments | ask | show | jobs | submit login

I use the latter almost religiously. Also can be useful to add a LIMIT on the end, just to guard against an UPDATE running amok. And I tend to write my queries 'backwards' (e.g. starting with the WHERE clause, ending with the "DELETE", to guard against executing the query prematurely.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: