This SQL:
drop table if exists :psql_var_report_table;
create table :psql_var_report_table (
id int,
name varchar(255)
);
Will not format via format document. Since the SQL document I have is run by psql, I always have a lot of variables in the SQL that psql will replace before execution.
OS: Darwin x64 17.7.0 VERSION: 4.0.379
Database Type: Redshift / Postgres
This SQL: drop table if exists :psql_var_report_table; create table :psql_var_report_table ( id int, name varchar(255) );
Will not format via format document. Since the SQL document I have is run by psql, I always have a lot of variables in the SQL that psql will replace before execution.