In Addition, Toad recognizes substitution variables in quotes as follows:
If & is escaped, Toad will not prompt for a value.
If & is the last value in a string, it is not considered a substition
variable.
My question is:
How do you escape an ampersand? (I’m not Houdini!!)
–
David
UtahToad at gmail dot com
L’Estrange:
Wickedness may prosper for awhile, but in the long run, he that sets all the knaves at work will pay them.
The help is outdated in this area. There is no way to escape a & and
&& and to my knowledge this is not possible in SQL*Plus either. You can
disable substitution variable support by right-clicking in the Editor and
unchecking the “Prompt for Substitution Variables” item. Michael
Key words: “when execute as script” And Houdini is foiled! Thanks anyway, guys!
(Better get the Help changed! – David UtahToad at gmail dot com True
happiness consists not in the multitude of friends, but in the worth and
choice. --Ben Jonson Bert Scalzo wrote: set escape off works in sql plus and
should work in toad when execute as script
i use names like ‘Charly & Company’ (name is surrounded in single quotes). now toad thinks each one is a variable, I probably have 50 or so company names. i can click "delete’ to stop the variable and the query runs fine. does anyone know how to stop this altogether. i’ve never had this problem in early releases.
For F9 (execute statement at caret) execution right-click and uncheck the
“Prompt for Substitution Variables” option. It sounds as though you may have had
this unchecked in the past. This will disable all support for subst. variables
when executing via F9.