I have a test SQL script I'm trying to run in the PowerShell using SQLPlus. The path to the script looks like this:
@C:\&DI\test.sql
When I run this, I get the prompt
Enter value for di:
If I input &DI, everything works. I'd rather avoid any prompt. I've tried a bunch of different combinations of quotes, but haven't had any luck. Does anyone have any ideas?