I'm trying to generate an export that runs monthly which appends a value from one of the columns within a table to the OutFile name, is this even possible?
The table is mytable and the column is col1 which contains "201601" at the minute
I would like my OutFile to show "/tmp/Output_201601" where the 201601 on next run will have automatically changed to 201602 etc