Oracle SQL escape character (for a '&')
the &
is the default value for DEFINE
, which allows you to use substitution variables. I like to turn it off using
SET DEFINE OFF
then you won't have to worry about escaping or CHR(38).
|| chr(38) ||
This solution is perfect.