单引号可以用两个单引号表示:
双引号不用做特殊处理,直接:select * from table where name = 'Rin''';其中name的值为“Rin'”
处理时用字符串替换即可
select * from table where name = '“双引号字段值”';
单引号可以用两个单引号表示:
双引号不用做特殊处理,直接:select * from table where name = 'Rin''';其中name的值为“Rin'”
处理时用字符串替换即可
select * from table where name = '“双引号字段值”';