# SQL Navigator prompts for "Value of a Substitution Variable"

**URL:** <https://forums.toadworld.com/t/sql-navigator-prompts-for-value-of-a-substitution-variable/3453>\
**Category:** SQL Navigator\
**Created:** [July 31, 2008, 2:38pm UTC](https://forums.toadworld.com/t/sql-navigator-prompts-for-value-of-a-substitution-variable/3453 "2008-07-31T14:38:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rvramanan](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rvramanan](https://forums.toadworld.com/u/rvramanan)\
**Post date:** [July 31, 2008, 2:38pm UTC](https://forums.toadworld.com/t/sql-navigator-prompts-for-value-of-a-substitution-variable/3453/1 "2008-07-31T14:38:48Z")

</div>

vact **varchar2** (50);

vact := 'R & P;

**end;**

Team:

I use SQL navigator 5.0.0.607.

For the past one month whenever I run any SQL block with ampersand in it, it prompts me to “enter value for substitution variable”

Like when I try to create this

**create or replace procedure test** **asbegindbms\_output.put\_line('vact ’ ||vact**\*\*);\*\*  
It prompts for a susbstitution value. However if I escape the & with &, the it is fine. This is the causing me issues. So for every string that contains &, I have to escape it with .

It does not happen in any of my collegaues SQL Navigator. I must have accidentally turned on or off something. Can you please let me know what setting shud I change so that this will not happen?

---

<div class="post-metadata">

**Author:** ![Gwen](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/gwen/32/75_2.png) [@Gwen](https://forums.toadworld.com/u/Gwen)\
**Post date:** [July 31, 2008, 5:36pm UTC](https://forums.toadworld.com/t/sql-navigator-prompts-for-value-of-a-substitution-variable/3453/2 "2008-07-31T17:36:49Z")

</div>

You have to turn off the Scan defines/Subsitutions option OFF. Look for a button that has “:&” on the code editor toolbar. Hope this helps.

Gwen

---

<div class="post-metadata">

**Author:** ![rvramanan](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rvramanan](https://forums.toadworld.com/u/rvramanan)\
**Post date:** [August 1, 2008, 9:25am UTC](https://forums.toadworld.com/t/sql-navigator-prompts-for-value-of-a-substitution-variable/3453/3 "2008-08-01T09:25:21Z")

</div>

Thanks that fixed the problem.

---

<div class="post-metadata">

**Author:** ![gerald.gionet](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gerald.gionet](https://forums.toadworld.com/u/gerald.gionet)\
**Post date:** [November 27, 2019, 6:35pm UTC](https://forums.toadworld.com/t/sql-navigator-prompts-for-value-of-a-substitution-variable/3453/4 "2019-11-27T18:35:54Z")

</div>

I cannot find this key. is this in a newer version?

---

<div class="post-metadata">

**Author:** ![joethejet](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@joethejet](https://forums.toadworld.com/u/joethejet)\
**Post date:** [January 9, 2020, 4:22pm UTC](https://forums.toadworld.com/t/sql-navigator-prompts-for-value-of-a-substitution-variable/3453/5 "2020-01-09T16:22:40Z")

</div>

I think it has been around for awhile. It's possible you have hidden that toolbar with a right click on the tool bar. Make sure all the buttons are available.
