今天早上来了,发现我们所有服务器上的hive来客户端都不可用了。最后发现 mysql数据库,不知道为什么多了一条数据: ? mysql> select * from version;? +--------+----------------+------------------+ | VER...
分类:
其他好文 时间:
2014-10-17 15:47:47
阅读次数:
214
最近精力比较有限,有些常用的东西就先记录下来。方便以后自己查阅和总结。
一个哥们想要实现如下效果:
DEPTNO ENAME SAL TOP3 部门工资 排序
---------- ---------- ---------- ----------
20 KING 5...
分类:
数据库 时间:
2014-10-17 15:40:06
阅读次数:
181
Description
Lost and AekdyCoin are friends. They always play "number game"(A boring game based on number theory) together. We all know that AekdyCoin is the man called "nuclear weapon of FZU,descen...
分类:
其他好文 时间:
2014-10-17 15:38:24
阅读次数:
282
LCM Cardinality
Input: Standard Input
Output: Standard Output
Time Limit: 2 Seconds
A pair of numbers has a unique LCM but a single number can be the LCM of more than one possible pairs. For ex...
分类:
其他好文 时间:
2014-10-17 15:37:49
阅读次数:
260
--移除回车符
update master_location
SET street_number = REPLACE(street_number, CHAR(13), '')
--移除换行符
update master_location
SET street_number = REPLACE(street_number, CHAR(10), '')...
分类:
数据库 时间:
2014-10-17 15:36:28
阅读次数:
165
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览器支持。timeout: 要求为Number类型的参数,设置请求超...
分类:
Web程序 时间:
2014-10-17 15:18:03
阅读次数:
289
??
销售订单行上行号:LINE_SHIPMENT_OPTION_NUMBER
取值:
( 1)
Line块的块级触发器POST-QUERY调用:
OE_LINE.Post_Query;(来自于库OEXOELIN)
( 2)
库OEXOELIN里Line_Shipment_Option_Number赋值代码:
OE_CONCAT_VALUES.L...
分类:
其他好文 时间:
2014-10-17 13:53:03
阅读次数:
253
课时统计开发过程sql使用记录
/*
//消费时长统计
select sum(duration) as totalDuration, sum(count) as number, date
from statistics_duration_cu
where school_id="test" and date >= "2014-9-28" and date <= "2...
分类:
数据库 时间:
2014-10-17 13:49:02
阅读次数:
243
有时候突然忘记MySQL的密码会真的不爽,这里介绍一种MySQL密码忘记时重置密码的方法,操作系统win8,MySql version:5.6.10
1 在任务管理器里面关闭掉mysql.exe,mysqld.exe进程;
2 在MySQL安装的文件夹里面打开cmd窗口(shift+右键)
输入mysqld –skip-grant-tables,如下所示:
它大概意思就是跳过授权表...
分类:
数据库 时间:
2014-10-17 13:48:41
阅读次数:
244
Problem:Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three integer...
分类:
其他好文 时间:
2014-10-17 13:33:42
阅读次数:
179