摘要: using GMLawCore.Common; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; usin 阅读全文
posted @ 2021-08-05 13:24 沙雕界一哥 阅读(169) 评论(0) 推荐(1) 编辑
摘要: 使用方式 ChangeLogHelper.PostES(original,current) ;代码实现(核心方法是CompareType) namespace Common { public class ChangeLogHelper { /// <summary> /// 推送ES /// </s 阅读全文
posted @ 2020-09-25 13:14 沙雕界一哥 阅读(131) 评论(0) 推荐(0) 编辑
摘要: Ctrl+K+D:快速对齐代码(按D的时候K不按) Ctrl+Z:撤销 Ctrl+S:保存 Ctrl+J:快速弹出智能提示 Shift+End、Shift+Home:选中 Ctrl+K+C:注释所选代码 Ctrl+K+U:取消所选代码的注释 Ctrl+滑动轮:调节字体大小 Ctrl+k+s:折叠代码 阅读全文
posted @ 2017-05-13 21:48 沙雕界一哥 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1.查询数据库中的锁 select * from v$lock;select * from v$lock where block=1; 2.查询被锁的对象 select * from v$locked_object; 3.查询阻塞 查被阻塞的会话select * from v$lock where 阅读全文
posted @ 2017-05-10 23:17 沙雕界一哥 阅读(446) 评论(0) 推荐(0) 编辑
摘要: plsql查看执行计划 (http://blog.csdn.net/li19236/article/details/41486557 http://blog.csdn.net/java3344520/article/details/5506718) explain plan for select * 阅读全文
posted @ 2017-05-10 16:12 沙雕界一哥 阅读(112) 评论(0) 推荐(0) 编辑
摘要: --删除前10条语句delete actionlog where rowid in (select rowid from ( select * from actionlog order by actiondate desc) --where rownum<=10)--时间 select sysdat 阅读全文
posted @ 2017-04-11 15:44 沙雕界一哥 阅读(190) 评论(0) 推荐(0) 编辑
摘要: --cmd导入导出数据库bmp文件 1.执行查询结果中的语句( select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 ) 2.然后再执行 cmd ==》 导入:imp admi 阅读全文
posted @ 2017-04-11 15:30 沙雕界一哥 阅读(186) 评论(0) 推荐(0) 编辑
摘要: --当前执行sql语句 SELECT a.SID , a.SERIAL# , a.USERNAME , b.PARSE_CALLS , b.PARSING_SCHEMA_NAME , b.CPU_TIME / 1000000 , b.ELAPSED_TIME / 1000000 , b.DISK_R 阅读全文
posted @ 2017-04-11 15:27 沙雕界一哥 阅读(4337) 评论(0) 推荐(0) 编辑