Skip to content

sqlcl: Substitution Variable in Script Name Not Working #52

@ann--b

Description

@ann--b

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions