SQL 转换符
1.插入特殊符号
insert table testTB(name) values('li''ming');
在SQL中''就相当于一个'
2.查询SQL语句转义符.
select * from testTB where name like 'li\''%' escapse'\'
其中escapse对'\'进行了转义
posted on 2008-10-07 11:31 爱笑的猪 阅读(255) 评论(0) 编辑 收藏 举报