Added escapeSQL as a remedy for DB_rdbms which doesn't support prepared
statements