added support for SQL REFRESH statement