随笔分类 -  数据库

摘要:加了 '/*+ driving_site(关联表1别名) driving_site(关联表2别名) driving_site(关联表3别名) */' 速度快甚至几十倍 阅读全文
posted @ 2016-07-28 14:27 jamsbwo 阅读(653) 评论(0) 推荐(0)
摘要:java使用Runtime.getRuntime().exec(cmdStr)来操作mysql数据库备份 实质就是拼接如下字符串,只拼了常用的选项,直接在win-搜索框内输入也是可以执行的,不必再cmd窗口,所有java中的Process process = Runtime.getRuntime() 阅读全文
posted @ 2016-05-19 15:23 jamsbwo 阅读(445) 评论(0) 推荐(0)
摘要:--ibatis --mybatis select id, city_id, owner_id from item where id in #{item} select r.id, r.info_id, r.item_id, from rent_content r where r.id NOT IN (SELECT rent_c... 阅读全文
posted @ 2016-03-27 19:43 jamsbwo 阅读(2021) 评论(0) 推荐(0)
摘要:check the manual that corresponds to your MySQL server version for the right syntax to use near这个问题网上很多,好几个都是说关键字占用问题,但是我碰到的不一样,我是把ibatis和mybatis的'#{u... 阅读全文
posted @ 2015-12-31 22:24 jamsbwo 阅读(128) 评论(0) 推荐(0)
摘要:进入检测工具(如360),卸载下输入Microsoft sqlserver...找到此项,通过卸载实例方式卸载接下来和安装有点类似接下来选择要删除的实例然后就非常轻松了 阅读全文
posted @ 2015-06-28 20:20 jamsbwo 阅读(3141) 评论(0) 推荐(0)

©2014 to