Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to re-prompt for && substitution variables?

Blue BirdOct 17 2018 — edited Oct 17 2018

In SQLDev 18.3 I'm exploring substitution variables and I know that &VarName ask everytime for a value when I run SQL and &&VarName ask only for the first time. My Q is how can I trigger/cause that I will be prompted again for a new value If I would like to change value, like I would execute this SQL for the first time?

I found out that I can use Define command and set another value, but I would just like to reset this value without another line of code and be prompted like for the first time. The other option I found is to copy the same SQL in new worksheet and run code from there. Can I achieve this on some easier or faster way without Define command or copy SQL sentence to a new worksheet?

Thanks,

BB

This post has been answered by Glen Conway on Oct 17 2018
Jump to Answer
Comments
Post Details
Added on Oct 17 2018
2 comments
2,041 views