• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






五色风车

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 14 15 16 17 18

2019年5月15日

pagehelper 分页
摘要: 分页jar包: <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.1.1</version> </dependency> 配置: import ja 阅读全文
posted @ 2019-05-15 11:16 五色风车 阅读(181) 评论(0) 推荐(0)
 

2019年5月14日

oracle的Hint
摘要: 与优化器模式相关的Hint 1 ALl_ROWS 让优化器启用CBO /*+ all_rows */ 2 first_rows(n) 让优化器启用CBO 模式,而且得到目标sql的执行计划是会选择那些能以最快时间返回n条记录的执行路径 /*+ first_rows */ 3 rule 启用RBO / 阅读全文
posted @ 2019-05-14 21:43 五色风车 阅读(1118) 评论(0) 推荐(0)
 
常用的一些sql
摘要: -- 树形结构 lpad 与 rpad 函数: instr 函数 instr( string1, string2 [, start_position [, nth_appearance ] ] ) / instr(源字符串, 目标字符串, 起始位置, 匹配序号) REGEXP_SUBSTR函数(字符 阅读全文
posted @ 2019-05-14 19:25 五色风车 阅读(232) 评论(0) 推荐(0)
 
socket
摘要: 服务器: public static void main(String[] args) { int serverPort = 7896; ServerSocket listenSocket; Socket clientSocket; while (true) { try { listenSocket 阅读全文
posted @ 2019-05-14 09:59 五色风车 阅读(126) 评论(0) 推荐(0)
 

2019年5月10日

oracle插入中文乱码
摘要: 执行sql: select userenv('language') from dual; -- AMERICAN_AMERICA.ZHS16GBK select * from v$nls_parameters a where a.parameter = 'NLS_CHARACTERSET' ; -- 阅读全文
posted @ 2019-05-10 09:03 五色风车 阅读(245) 评论(0) 推荐(0)
 
上一页 1 ··· 14 15 16 17 18