3 ms·
The example here is misformatted: frozen_rand BETWEEN % (rand_low) s AND % (rand_high) s Should all be on one line, those aren't two different conditions.
by thesh4d0w 3y ago
The example here is misformatted:
frozen_rand BETWEEN % (rand_low) s
AND % (rand_high) s
Should all be on one line, those aren't two different conditions.
- yencabulator 3y agoShall we even discuss the weird SQL injection stuff there, with what looks like Python string formatting? Use bind parameters, people!
- croes 3y agoI guess it's newlining on certain key words like AND which is ok if it's a new where condition but unnecessary if it's part of an between clause.