The "Prompt for substitution variable" option is un-checked but it still prompts for substitution.
Running a query as script (F5) with an ampersand (&) value. The option "Prompt for substitution variable" un-checked, but it still prompts for substitution.
Example query:
INSERT INTO COUNTRIES (COUNTRY_ID, COUNTRY_NAME, REGION_ID) VALUES (22, '&Hello', 4);
The "Prompt for substitution variable" option only applies to executing query as statement (F9) and not for running scripts (F5).
WORKAROUND 1:
Run using Execute as Statement (F9) and have Toad Option "Prompt for substitution variable" un-checked.
WORKAROUND 2:
Run using Run as Script (F5) and use the command 'SET DEFINE OFF' as the first statement before your query.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center