- 博客(13)
- 收藏
- 关注
原创 ORACLE 导出检索结果
set echo off;set feedback off;set verify off;set term off;set trimspool on;set linesize 5000;set newpage none;set heading off;set serveroutput offALTER SESSION SET NLS_TIMESTAMP_FORMAT='YYYY/
2017-12-27 10:05:11
334
原创 ORACLE: 用 SUM OVER统计求和
select sum(1) over() as total, sum(1) over(order by id) as idx from test_table;假设test_table 结果为:totalidx101102103104105106107
2017-12-27 08:50:28
1005
原创 Shell: 读配置文件并用逗号分割
List=()cnt=0while read linedo if [[ "$line" == "/"* ]]; then List[$cnt]="$line" cnt=$((cnt+1)) fidone echo "start split settings"for Item in ${List[*]} do I
2017-12-22 14:03:49
2884
原创 MYSQL:巧用临时变量做分组统计
题目: 一张测试成绩表(test_score_tbl)中包括班级(class), 姓名(name), 分数(score) 三个字段, 求用SQL文检索出每个班级的前三名。答案: 按照班级(class), 分数(score)排序后,再利用临时变量筛选出前三名:select @pre_class:=0, @rownum:=0;select class, name,
2016-09-06 10:20:24
3589
原创 Eclipse导入lombok
Eclipse Mars (4.5.0)1. 下载最新的lombok.jar : https://projectlombok.org/download.html2. java -jar lombok.jar 数秒后将弹出一框,以确认eclipse的安装路径确认完eclipse的安装路径后,点击install/update按钮,即可安装完成。3. 重启eclipse。
2016-09-06 09:40:35
1548
原创 Eclipse安装EclEmma插件
Eclipse 安装EclEmma插件后可以统计覆盖率官方网址:http://www.eclemma.org/官方网址上提供了三种安装方法,可任选一种安装。 (如果一种方法安装失败就换另外一种试试)http://www.eclemma.org/installation.html安装后重启Eclipse,进入TestSuite类,右键 Coverage As ->
2016-09-06 09:36:53
7275
原创 如何安装oracle
1) access Oracle website and download the softwarehttp://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.htmlwe have downloaded them and you can find in \\ldns-dt-26
2016-08-31 17:35:05
512
原创 如何安装OEPE
1) access oracle websitehttp://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html?ssSourceSiteId=otnjpand download the software : oepe-12.1.3-kepler-installer-win32.
2016-08-31 17:26:38
1784
原创 CygWin安装RedisCluster指南
背景客户为提高性能升级至RedisCluster,本地也要安装开发环境,因为Redis最新版只能在64位机器上运行,操作系统用Win7 64版。Redis最新版官方只有Linux版,下载地址 http://redis.io/download某开源小组提供了Windows版,下载地址 (https://github.com/MSOpenTech/redis)(releases页面)
2016-08-23 17:27:45
683
原创 覆盖率统计插件EclEmma
Eclipse 安装EclEmma插件后可以统计覆盖率官方网址:http://www.eclemma.org/官方网址上提供了三种安装方法,可任选一种安装。 (如果一种方法安装失败就换另外一种试试)http://www.eclemma.org/installation.html安装后重启Eclipse,进入TestSuite类,右键 Coverage As ->
2016-08-17 14:47:23
771
原创 Apache服务器入门
Getting Startedhttp://httpd.apache.org/docs/2.4/en/getting-started.html 页面中介绍一些基本概念, 值得一提的地方有url 包括4部分, protocol 协议 servername:port 服务器名:端口 path 路径 query param 查询参数 多个主机名 可以指向同一个 ip 地址, 多
2016-08-16 15:27:29
489
原创 微软Bing翻译API的使用
首先要有微软账号,比如hotmail什么的https://datamarket.azure.com/developer/applications订阅翻译服务https://datamarket.azure.com/dataset/bing/microsofttranslator注册自己的注册应用程序https://datamarket.azure.com/dev
2016-08-16 14:54:30
18340
原创 MySQL导出DUMP命令备忘
导出带数据的DUMP (忽略部分表)mysqldump --set-gtid-purged=OFF --skip-lock-tables --ignore-table=merchant.glb_person_login_log --ignore-table=merchant.glb_dest_hirchy_mst_old --ignore-table=merchant.glb_shop_des
2016-08-16 14:51:14
556
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人