Last updated on JULY 05, 2017
Applies to:PL/SQL - Version 10.2.0.4 and later
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)
On Windows a file opened using UTL_FILE is unable to be deleted as the file was left opened and not closed using UTL_FILE.FCLOSE.
Even when the session is closed (or sqlplus exited) the file remains locked.
Example code that leaves an open file
* note we do not close the file - the FCLOSE is commented out
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms