怎样查询SQL SERVER 中包含还A字符的内容
如:不管A 在前面、中间,还是后面,都希望查询出来,谢谢。
------解决方案--------------------
- SQL code
select * from tb where col like '%A%'select * from tb where charindex(A,col)>0
------解决方案--------------------
select * from tb where col like '%A%'select * from tb where charindex(A,col)>0
------解决方案--------------------