Subdirectories In SQLPATH Are Not Being Searched For SQL Scripts. Get Error: SP2-0310: Unable to Open File "xyz.sql"
Last updated on JUNE 20, 2017
Applies to:SQL*Plus - Version 18.104.22.168 and later
Information in this document applies to any platform.
SP2-0310: unable to open file "xyz.sql"
The SQLPATH environment variable is set to parent directories, as per example:
There are SQL scripts in a deep directory, as per example:
When try to run one of the scripts in the maintenance directory, the following error is raised:
SQLPATH subdirectories are not being searched for SQL scripts.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms