Is it possible to use wildcard on renaming a file from a directory?
UTL_FILE.FRENAME (
'EXT_DIR' IN VARCHAR2,
'%.CSV%' IN VARCHAR2,
'EXT_DIR' IN VARCHAR2,
'WPP_ACCOUNT.CSV' IN VARCHAR2,
TRUE);
Is it possible to use wildcard on renaming a file from a directory?
UTL_FILE.FRENAME (
'EXT_DIR' IN VARCHAR2,
'%.CSV%' IN VARCHAR2,
'EXT_DIR' IN VARCHAR2,
'WPP_ACCOUNT.CSV' IN VARCHAR2,
TRUE);
No, you can't do that. This is not a database call. You could create an external table, with a preprocessor directive that gives you the list of files in a directory, then put a FOR
loop on top of that, but that's fairly complicated.