筛选出sql 查询结果中 不包含某个字符

select * from table1 where patindex('%关键字%' , aa) = 0 

select * from table1 where charindex('关键字' , aa) = 0 

select * from table1 where aa like '%关键字%'

posted @   LuoCore  阅读(2004)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示