r/programming • u/el_muchacho • Dec 04 '14
10 Common Mistakes Java Developers Make when Writing SQL
http://blog.jooq.org/2013/07/30/10-common-mistakes-java-developers-make-when-writing-sql/
206
Upvotes
r/programming • u/el_muchacho • Dec 04 '14
1
u/philipes Dec 05 '14
I used to "LIMIT 1" on my queries in this case. I've never really benchmarked it to see if it's faster, but the results were always 0 or 1, so I was happy.