Fixed syntax errors with Oracle SQL not caught in H2 testing