游浪踏

导航

 

2017年7月22日

摘要: 运用场景: 元数据为:姓名,星期,工作小时 需要转换成:姓名,周一,周二,周三,周四,周五,周六,周日 1.创建表 2.配置转换 链接: 阅读全文
posted @ 2017-07-22 13:19 游浪踏 阅读(1761) 评论(0) 推荐(0)
 
摘要: kettle列转行是把一个列通过分隔符拆开,转成多行的功能 案列链接: 1.表输入通过查询数据库,得到输出字段name和password 2.再通过列转行,用"|"把name字段进行分割 3.用文本文件选择字段进行输出测试查看 阅读全文
posted @ 2017-07-22 12:52 游浪踏 阅读(1221) 评论(0) 推荐(0)
 

2017年6月3日

摘要: 1.搭建集群,关闭虚拟机防火墙,或者iptables参数,允许redis集群端口通过 service iptables stop 或者 vim /etc/sysconfig/iptables 2.测试集群(不整合spring) 3.配置spring文件 4.测试集群(整合spring) 5.单击版本 阅读全文
posted @ 2017-06-03 22:41 游浪踏 阅读(2596) 评论(0) 推荐(0)
 
摘要: 1.下载redis包 地址:http://www.redis.net.cn/download/ 2.把包放置linux下 位置:/usr/local/src 3.通过命令安装redis 命令1:make 命令2:make install (make install PREFIX=/usr/local 阅读全文
posted @ 2017-06-03 12:20 游浪踏 阅读(141) 评论(0) 推荐(0)
 

2017年5月11日

摘要: 通过 select fun_cust_change_manager(参数) from dual;就可以调用 阅读全文
posted @ 2017-05-11 09:58 游浪踏 阅读(1839) 评论(0) 推荐(0)
 

2017年5月10日

摘要: 1.建立数据库链 CREATE PUBLIC DATABASE LINK proTestCONNECT TO dbsopr IDENTIFIED BY dbsopr_1USING'(HKTEST33 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTO 阅读全文
posted @ 2017-05-10 17:23 游浪踏 阅读(1025) 评论(0) 推荐(0)
 

2017年5月9日

摘要: 1.插入数据 set name caohui2.查询数据 get name3.删除键值 del name4.验证键是否存在 exists name5.setnx 设置key对应的值为string类型的value。如果key已经存在,返回0,nx是not exist的意思。 setnx name yo 阅读全文
posted @ 2017-05-09 14:33 游浪踏 阅读(210) 评论(0) 推荐(0)
 
摘要: Redis支持很多的参数,但都有默认值。 daemonize:默认情况下,redis不是在后台运行的,如果需要在后台运行,把该项的值更改为yes pidfile当Redis在后台运行的时候,Redis默认会把pid文件放在/var/run/redis.pid,你可以配置到其他地址。当运行多个re 阅读全文
posted @ 2017-05-09 14:33 游浪踏 阅读(189) 评论(0) 推荐(0)
 

2017年4月30日

摘要: 1.创建存储过程create or replace procedure pro_student_info_byId( in_Id in t_student_info.id%type,out_custInfo out sys_refcursor )is begin open out_custInfo for select a.* from t_student_info a where a.i... 阅读全文
posted @ 2017-04-30 11:23 游浪踏 阅读(5248) 评论(0) 推荐(0)
 

2017年4月29日

摘要: 1.for循环遍历 declarecursor mycur is select * from ct_cust_info;custInfo ct_cust_info%rowtype;cou number;beginfor custInfo in mycur loopcou:=mycur%rowcoun 阅读全文
posted @ 2017-04-29 19:18 游浪踏 阅读(2367) 评论(0) 推荐(0)