semicolon at the end causes issues on Oracle
Merge pull request #121 from owncloud/fixing-sql-statements-master

semicolon at the end causes issues on Oracle