Can i use a environment variable inside a *.sql file?
696057Feb 19 2010 — edited Feb 19 2010Hello,
I want to create a external table.
So i am using the command
create or replace directory abc as 'C:\folder'.... inside a sql file.
Now i want the path "C:\folder" to be dynamic as i am using this path in many other places also inside the sql file.So i thought to create a environment variable and put this value there.I tried using as %PATH% but it gives error..... where %PATH%=C:\folder.
Can i use a environment variable inside a *.sql file?
But how to do that or is there any other way.
Thanks
Swapna
Edited by: user11018268 on Feb 19, 2010 1:03 AM