added support for a case insensitivity in sql query clause