sql server 百分号(%)转义

如,需要查询以%结尾的列,使用中括号将百分号包起来即为转义。
select * from tablename where colname like ‘%[%]’

猜你喜欢

转载自blog.csdn.net/u010178308/article/details/85164639