- 博客(2)
- 资源 (4)
- 收藏
- 关注
原创 Oacle匿名块
因系统历史遗留故障,导致有一张千万级别的表需要删除大概60w的错误数据,计划用批处理语句来循环删除,最近越发感到越来越菜,因此将这个批处理语句记录下来,以供日后温习。只作为处理,没有声明部分。 declare--声明 i int:=0;--定义变量并赋值 v_count int;--定义变量 v_loop int;--定义变量 begin--执行 select count(*) into v_...
2018-10-09 18:02:34
197
原创 lucene7 创建索引
//创建索引 public static <T> ResultVO<T> addTest (String path) { IndexWriter writer=null; try { Directory dir =FSDirectory.open(Paths.get(path)); //指定一...
2018-07-19 20:36:37
604
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人