oracle / oracle-db-tools

This project is a repository of sample code that will demonstrate various concepts to assist developers in building applications around Oracle Database technologies. SDKs and scripts will be available to integrate with SQL Developer, Data Modeler, Oracle REST Data Services and DBaaS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sqlcl: Substitution Variable in Script Name Not Working

ann--b opened this issue · comments

Note: This works in sql plus.

From sqlcl:

sql> @dir1/script1.sql

script1.sql:
@@script2.sql

script2.sql:
define myVar = x
@@dir1/&myVar._y

SP2-0310: Unable to open file: "dir1/x.sql"