oracle - How do i set working directory in sql developer in code -


i'm using sql developer.

i want run scripts.
don't want have include folder name in call each script.

but want use variable include directory in (the working directory).

i can having trouble folder names spaces (this in windows).

can me work out how without having rename folder remove spaces?

define dir="c:\users\xx\google drive\analytics\recruitment\nsl\2. data understanding\code"  @&dir\cb_nsl_impairments.sql;  

returns error

sp2-0310: unable open file: "c:\users\xx\google.sql" 

oops. solved it.

just needed double quotes around script call:

@"&dir\cb_nsl_impairments.sql" 

Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -