简单问题:包含单引号"'"的字符串要插入到数据库字段中应该做什么转换?要求保持插进去的值不变。 select '''abcd'''--返回 'abc' 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 create table t(a varchar(100))insert into t select '''hello'insert into t select '''hello'''select * from tdrop table t----- 测试----------'hello'hello' Collation如此翻译? 取后六条的数据 关于like与in的交叉问题 简单sql删除语句 SQL 想获取两年之间有哪些年 sql查询语句求解 如何防止一次插入多条重复记录? 一个存储过程里怎样调用另一个存储过程的结果啊?谢谢 路過走過,請各位看一看這個問題!!!!!!!! 关于UNIX下ORACLE的问题 如何用存储过程写分页代码? 请问关于插入数据库语句的问题?
insert into t select '''hello'
insert into t select '''hello'''
select * from t
drop table t
----- 测试----------
'hello
'hello'