Yesql, Oracle and fetch out of sequence

Oct 28, 2016 22:08 · 49 words · 1 minute read Clojure Yesql Oracle errors

If you encounter an ‘ORA-01002: fetch out of sequence’ when running your Yesql functions, make sure you have remembered the exclamation mark after the name of your insert/update/delete. I have only used Oracle with Yesql, but I expect other databases will give a similar error if you forget this.