Oracle按不同时间分组统计
摘要:1、按年 2、按月 3、按季 4、按周 5、按小时 6、按分钟 SELECT trunc(sysdate-1) + (ROWNUM - 1) / 24 / 60 AS STAT_TIME FROM DUAL d CONNECT BY ROWNUM <= 1440 +(trunc(sysdate, '
阅读全文
posted @
2014-12-26 15:00
凌度
阅读(4907)
推荐(0) 编辑
oracle显示数据库名和表名
摘要:oracle查看表名select table_name from user_tables;select table_name from dba_tables;select * from all_all_tablesoracle查看数据库名select * from v$database;mysql查...
阅读全文
posted @
2014-12-26 10:14
凌度
阅读(2384)
推荐(0) 编辑
oracle导入数据和编码问题
摘要:配置contrl文件load datacharacterset utf8append into table role_res_goldfields terminated by ';'TRAILING NULLCOLS(F_USERNAME ,F_RES_TYPE ,F_INDEX...
阅读全文
posted @
2014-12-25 11:33
凌度
阅读(1827)
推荐(0) 编辑
python2 encode和decode函数说明
摘要:字符串编码常用类型:utf-8,gb2312,cp936,gbk等。python中,我们使用decode()和encode()来进行解码和编码在python中,使用unicode类型作为编码的基础类型。即 decode encodestr ---------> unicode --------->s...
阅读全文
posted @
2014-12-25 11:26
凌度
阅读(7954)
推荐(0) 编辑
【linux】下载命令lftp\sftp\wget
摘要:sftp sftp(安全文件传输协议)与ftp 有着几乎一样的语法和功能。FTP 为 SSH的一部份,是一种传输档案至 Blogger 伺服器的安全方式。它并不使用ftp守护进程(ftpd或wu-ftpd)来进行连接,而是有意义地增强系统的安全性。实际上,通过监视一些系统中的log文件,可以注意到很...
阅读全文
posted @
2014-12-18 10:45
凌度
阅读(22479)
推荐(0) 编辑
【linux】查看进程使用的端口和端口使用情况
摘要:netstat -a 查看所有服务端口 netstat -tln 查看当前使用的端口 通过PID查看端口号:netstat -anop|grep pid ps命令查看进程的id: ps aux | grep ftp 或者 pidof Name netstat命令查看其占用的端口: netstat -
阅读全文
posted @
2014-12-18 10:00
凌度
阅读(5260)
推荐(0) 编辑
vsftpd设置被动模式
摘要:完整配置listen=yeslisten_port=21max_clients=100max_per_ip=10local_max_rate=5120000anonymous_enable=nolocal_enable=yeswrite_enable=nochroot_local_user=yesc...
阅读全文
posted @
2014-12-17 17:48
凌度
阅读(40584)
推荐(4) 编辑
Nginx启动提示找不到libpcre.so.1解决方法
摘要:如果是32位系统[root@lee ~]# ln -s /usr/local/lib/libpcre.so.1 /lib如果是64位系统[root@lee ~]# ln -s /usr/local/lib/libpcre.so.1 /lib64然后在启动nginx就OK了[root@lee ~]# ...
阅读全文
posted @
2014-12-17 16:06
凌度
阅读(925)
推荐(0) 编辑
Linux下安装python
摘要:安装gcc编译器:yum -y install gcc安装wget:yum -y install wget安装zlibyum install zlibyum install zlib-devel安装python-setuptools:wgethttp://peak.telecommunity.com...
阅读全文
posted @
2014-12-15 15:17
凌度
阅读(231)
推荐(0) 编辑
oracle 12c使用问题总结
摘要:1、无法登录安装完毕只能使用system和sys用户,用安装时配置的密码登录;不能使用默认密码2、远程无法访问1)检测服务器配置lsnrctl status看到(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))则表示只允...
阅读全文
posted @
2014-12-12 15:56
凌度
阅读(467)
推荐(0) 编辑
oracle下载地址
摘要:12c 下载地址http://www.oracle.com/technetwork/cn/database/enterprise-edition/downloads/index.html
阅读全文
posted @
2014-12-11 15:08
凌度
阅读(228)
推荐(0) 编辑
Informatica PowerCenter下载地址
摘要:https://edelivery.oracle.com/EPD/Download/get_form?egroup_aru_number=12854075
阅读全文
posted @
2014-12-10 14:32
凌度
阅读(1234)
推荐(0) 编辑
主流ETL工具
摘要:主流ETL产品: Ascential公司的Datastage(Datastage在2005年被IBM收购)、Informatica公司的Powercenter、 NCR Teradata公司的ETL Automation(一套ETL框架、主要关注“抽取”)。ETL工具有: OWB(Oracle ...
阅读全文
posted @
2014-12-10 14:26
凌度
阅读(2140)
推荐(0) 编辑
【phonegap】下载文件
摘要:// Wait for device API libraries to load // document.addEventListener("deviceready",onDeviceReady,false); ...
阅读全文
posted @
2014-12-03 16:13
凌度
阅读(3188)
推荐(0) 编辑
【phonegap】用本地浏览器打开网页
摘要:请点击跳到页面function openLocalExplorer() { try { navigator.app.loadUrl(encodeURI('http://121.14.64.122:10013/static/download.html'), { openExterna...
阅读全文
posted @
2014-12-03 16:08
凌度
阅读(494)
推荐(0) 编辑