在OracleSQL中,有时候需要用到条件
Select * from T where 条件字段 in (A,B)
,而大多数情况下in后面的条件是在数据库外部获取的字符串形式,这时候就需要换一种写法:
Select * from T where instr(字符串,条件字段) > 0