如,需要查询以%结尾的列,使用中括号将百分号包起来即为转义。
select * from tablename where colname like ‘%[%]’
sql server 百分号(%)转义
猜你喜欢
转载自blog.csdn.net/u010178308/article/details/85164639
今日推荐
周排行