SELECT functions.to_global_col_names(:table_str);

SELECT functions.create_if_not_exists($$ALTER TABLE "COND" ADD CONSTRAINT "COND.unique" UNIQUE ("COND.STATECD", "COND.UNITCD", "COND.COUNTYCD", "COND.PLOT", "COND.INVYR", "COND.CONDID")$$);
