Make REPLACE_TABLES and REPLACE_COLS work with VIEW. The view name and the columns aliases will be replaced. Take care that the table name or columns names in the statement will be kept untouched and need manual rewritting. Thanks to Sven Medin for the feature request.