SELECT functions.to_global_col_names(:table_str);

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