SQL charindex()的用法

 select * from table_a where charindex('a',id)>0 or charindex('b',id)>0  table_a 表中 id字段中含有"a"或者"b"的记录. 

posted @ 2012-10-20 10:29  shuangyihaiying  阅读(129)  评论(0编辑  收藏  举报