Hi all,
I've been given a bunch of GDBs where in a few cases the date field is held as a string. I need to loop over the columns and look over the columns to see if they contain the word DT or DATE and if so, format that date into an Oracle Readable date, also automatically updating the writer to match the date type.
Does anyone have any ideas how i can do this. So far i've got the regex. .*[D][A][T][E].* .*[D][T].* and am thinking of using some sort of tester to test whether the column contains this in its name. If so i need to pass it to a DateFormatter merge back in with the rest of the dataset and pass to a writer which has automatically been configured to detect the change in datatype. This needs to be reasonably generic and work when looped over multiple GDBs,
I'm running FME desktop 2014
Any help would be much appreciated.
Thanks!