例如:T_table表中,name字段值为:字符串含有‘单引号’;
SQL模糊搜索语句应该如下:select * from T_table where name like '%含有''单引号''%'
例如:T_table表中,name字段值为:字符串含有‘单引号’;
SQL模糊搜索语句应该如下:select * from T_table where name like '%含有''单引号''%'
转载于:https://www.cnblogs.com/Bud-blog/p/8630424.html