Hi folks - relatively new to this PL/SQL so please excuse dumb question.
I have to extract data from a text file into a table. That bit is no problem, but one of the columns is a date, and the date is held in the text file name. The text file is named "INPFILE.01.A.YYYYMMDD.TXT" where the YYYYMMDD is the date required. How do I extract that part of the filename into a date variable that can then used as part of the load?
Thanks
Rog
I have to extract data from a text file into a table. That bit is no problem, but one of the columns is a date, and the date is held in the text file name. The text file is named "INPFILE.01.A.YYYYMMDD.TXT" where the YYYYMMDD is the date required. How do I extract that part of the filename into a date variable that can then used as part of the load?
Thanks
Rog