-- 查找 f_service 包含 B2CUnionpay 的记录
-- 方法一
select f_service from open.t_pay where position('B2CUnionpay' in f_service)!=0;
select f_service from open.t_pay where position('B2CUnionpay' in f_service)>0;
-- 方法二
select f_service from open.t_pay where strpos(f_service,'B2CUnionpay')!=0;
select f_service from open.t_pay where strpos(f_service,'B2CUnionpay')>0;
-- 方法三
select f_service from open.t_pay where 'B2CUnionpay' ~ f_service and f_service<>'';
-- 方法四
select f_service from open.t_pay where (string_to_array('B2CUnionpay',',') && string_to_array(f_service,','));