SP2-0310: Unable to Open File "<script>.sql" when the SQL Script is under a Subdirectories In SQLPATH
(Doc ID 1524210.1)
Last updated on JULY 15, 2024
Applies to:
SQL*Plus - Version 11.2.0.3 to 18.5Information in this document applies to any platform.
Symptoms
The SQLPATH environment variable is set to parent directories, as per example:
SQLPATH=/<dir1>/<subdir1>:/<dir1>/<subdi2>
There are SQL scripts in a deep directory, as per example:
/<dir1>/<subdir1>/temp/test/
When try to run one of the scripts in the test directory, the following error is raised:
SP2-0310: unable to open file "<script>.sql"
SQLPATH sub-directories are not being searched for SQL scripts.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |