- 博客(5)
- 资源 (13)
- 收藏
- 关注
原创 mysql 开发常用不常见的命令
1.执行外部sql文件命令source d:\test.sql 2 开启远程连接mysql1.改表法可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 “mysql” 数据库里的 “user” 表里的 “host” 项,从“localhost”改称“x:\>mysql -u root -p123456mysql> use
2016-11-16 19:25:35 543
原创 宝兰德BES8.2搭建全过程,项目用到临时总结
1.安装前的准备 1.1 在安装 BES8.x 前,首先需要安装 JDK,建议安装较新版本的 JDK。 1.2 在服务器上 hosts 文件中添加主机名和物理 2.安装 把安装包上传到服务器上。 使⽤用命令 chmod 777 BES081000B7763-Redhat32AS_V52.bin,给安装包执行的权限。 运行命令./ BES08100
2016-11-16 16:39:27 14734 4
原创 java 定制排序 Comparator 区分从大到小还是从小到大
比如定义一个类,在类中重新定义Collection.sort()排序规则:class ComparatorDp implements Comparator{ public int compare(Object obj1, Object obj2) { double temp=obj1.value()-obj2.value(); in
2016-11-15 17:14:26 20027 2
原创 hive常用函数(一)
语法: length(string A) 返回值: int 说明:返回字符串A的长度 举例: hive> select length(‘abcedfg’) from dual; 7 字符串反转函数:reverse语法: reverse(string A) 返回值: string 说明:返回字符串A的反转结果 举例: hive> select reverse(‘abcedfg’)
2016-11-14 14:29:07 1112
原创 oracle 使用函数,和不使用函数 行转列 列装行 (case when then else end) union pivot unpivot
create table grade ( id varchar2(64) not null, name varchar2(20) not null, course varchar2(100) not null, score number(3) not null, primary key (id) ) -- 初始化数据 insert into gr
2016-11-08 14:42:41 2254
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人