Oracle 模糊查询 只有% ; _ ;[^] ; [] ; 4 种通配符 以上 4 种通配符的含义 % 表示零个或多个字符 _ 表示单个字符 [] 表示范围[a-f]或集合[abcdef]的任何单个字符 [^] 表示不属于指定范围的[a-f] 或集合[abcdef]的单个字符 通常表示[^a-f] or [^abcdef] 以你的 temp 表为例子 1.查询以 bei 开头的 name select * from temp where name like 'bei%' 2.查询以 bei 开头 4 个字符的 name select * from temp where name like 'bei_' 3.查询任何以字母 a-f 开头的 name select * from temp where name like '[a-f]%' 4.查询任何不以字母 a-f 开头的 name select * from temp where name like '[^a-f]%' sql_xml 中 STOP_BEG_DATESTOP_END_DATECONS_NOCONS_NAMEELE_ADDRCURR_STATUSSTOP_ID