I have a request
select * from table where name in ('52 T&M', '60 T&M');
"&" causes the request to wait for the parameter. How can I qualify "&"? in a bite request so that the query can find the string using the "&" character in them?
I would usually use set define offas suggested by omg, but you can also do it like this:
set define off
select * from table where name in ('52 T'||Chr(38)||'M', '60 T'||Chr(38)||'M');
Ampersand ("&") is the character interpreted by SQLPlus as a placeholder variable. Using:
SET DEFINE OFF
, sqlplus,
Source: https://habr.com/ru/post/1763841/More articles:RegEx: Uk Landline, Mobile Numbers - regexQt Flowchart Application Architecture - design-patternsLoadError when using heroku db: push - ruby | fooobar.comEhCache scaling - spring-securityVisual Studio 2010 forgets its own editor - visual-studio-2010left join with empty results when no match is found - sqlUsing static finals in Android activity - androidpassing callback as upload_to to FileField - directoryДиалоговое окно подтверждения в ActionLink с использованием ASP.NET MVC 2 - asp.net-mvccheck if string contains ip address - c #All Articles