2017年12月14日

SQL 的单引号转义字符

摘要: SQL 的转义字符是:'(单引号) 例:select * from user where name = '''06' 其中红色的单引号即表示转义字符,上例中 name的实际条件值为 '06,而不是 ''06 如果我们省略,则整个语句会出错,上句变成:select * from user where 阅读全文

posted @ 2017-12-14 16:15 swustqiu 阅读(48693) 评论(0) 推荐(2) 编辑

导航