sql语句查询关键字中含有特殊符号怎么处理, 例如 ‘smi_’
错误:select * from emp where ename like ‘%sml_%’
正确:select * from emp where ename like ‘%sml\_%’ escape ‘\’
sql语句查询关键字中含有特殊符号怎么处理, 例如 ‘smi_’
错误:select * from emp where ename like ‘%sml_%’
正确:select * from emp where ename like ‘%sml\_%’ escape ‘\’