SQL: add support for Oracle