postgres int类型LIke问题,int列不能直接like可以用eq 或者转成text进行like
select * from a where c::text like ‘%123%’
select * from a where c eq ‘123’
postgres int类型LIke问题,int列不能直接like可以用eq 或者转成text进行like
最新推荐文章于 2023-07-26 16:53:17 发布
postgres int类型LIke问题,int列不能直接like可以用eq 或者转成text进行like
select * from a where c::text like ‘%123%’
select * from a where c eq ‘123’