cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sushant
Level 3

IA variable

can we use IA variable in RUN SQL script???

i have added Database server in the HOST. And running the SQL script through "run sql script panel". The script is "backup database dcadb to disk='C:\test\dcadb_r11.bak' with init". Now i want to use IA variable instead of hardcoded path.

script should be "backup database dcadb to disk='$PATH$$/$dcadb_r11.bak'"
Labels (1)
0 Kudos
(1) Reply
pv7721
Level 20

Yes, you can use IA variables in your script, the only requirement would be to have them replaced with their respective values BEFORE running the script!
0 Kudos