mysql\oracle字符串是否包含某个字符串

版权声明:本文为博主原创文章,转载请注明出处!!! https://blog.csdn.net/qq_32711309/article/details/85062038

oracle 

select * from WBHC_CHELIANGKU_LINK where instr(CHEPAI,'京')=0;

instr(字段,检索字符) 判断条件

instr('abc','a') = 1

instr('abc','d') = 0

mysql 

SELECT * FROM `analysis_jing_vehicle_all_datasource` where  find_in_set('字符', chepaihao);

猜你喜欢

转载自blog.csdn.net/qq_32711309/article/details/85062038