2018年9月19日

MySQL游标使用

摘要: 数据为十万条结果 阅读全文

posted @ 2018-09-19 19:46 东子z 阅读(3482) 评论(0) 推荐(0) 编辑

CallableStatement获得存储过程多个结果集

摘要: 这里使用到的数据库为MySQL 阅读全文

posted @ 2018-09-19 19:16 东子z 阅读(538) 评论(0) 推荐(0) 编辑

Statement、 PreparedStatement 、CallableStatement 区别和联系

摘要: Statement、 PreparedStatement 、CallableStatement 区别和联系 1. Statement、PreparedStatement和CallableStatement都是接口(interface)。 2. Statement继承自Wrapper、Prepared 阅读全文

posted @ 2018-09-19 15:37 东子z 阅读(160) 评论(0) 推荐(0) 编辑

MySQL随机字符串函数批量插入数据

摘要: 简单举个例子: 这里了解一下存储过程不建议使用 1、难以调试,难以维护 2、业务逻辑跟数据库耦合度过高,不便于迁移 3、对数据的压力过大,需要分拆 4、MySQL 对存储过程的支付有些弱鸡 阅读全文

posted @ 2018-09-19 10:12 东子z 阅读(554) 评论(0) 推荐(0) 编辑

导航