2014年1月27日

摘要: 最近用了MySQL+ibatis做项目问题描述:在SQL里 用到了 a.name like ##%searchName%##searchName=test_1发现出来的结果:test_1, test01原来下划线_在mysql中是特殊符号,代表任意一个字符*解决方案:code里面需要对下划线_做转义: test_1 ==> test\_1问题解决。 阅读全文
posted @ 2014-01-27 14:58 tomcat and jerry 阅读(8075) 评论(2) 推荐(0) 编辑
摘要: update TBL_1 A, TBL_2 B, TBL_3 Cset a.email=c.email_addrwhere a.user_id=b.user_id and b.un_id=c.un_id多表之间的简单数据迁移老是记不得,mark下来备用 阅读全文
posted @ 2014-01-27 14:52 tomcat and jerry 阅读(579) 评论(0) 推荐(0) 编辑

导航