码迷,mamicode.com
首页 >  
搜索关键字:ora-04031 obj stat memo version count    ( 69204个结果
linux常用命令
# uname -a # 查看内核/操作系统/CPU信息 #cat /proc/version # 查看内核 # cat /etc/issue # 查看操作系统版本 # head -n 1 /etc/issue # 查看操作系统版本 # ca...
分类:系统相关   时间:2014-06-07 02:46:29    阅读次数:375
update cdh version ,but cdh use old conf ,problem solve
最近升级cdh版本,从4.5 升级到 5.0.0 beta-2 但是升级后,发现/etc/alternatives 路径下的软链接还是只想旧的4.5 版本,而且hadoop环境也是沿用4.5 的版本conf,导致hive不能正常使用,报错为hdfs 的版本不对。 后面使用strace工具查看,发现它...
分类:其他好文   时间:2014-06-07 02:44:21    阅读次数:248
每天努力一点之SQL(二) count sum case when then group by
1.select sum(CASE WHEN A.[STATUS]=0 THEN 1 ELSE 0 end) as a1,sum(CASE A.[STATUS] WHEN 1 THEN 1 ELSE 0 end) as a2,sum(CASE A.[STATUS] WHEN 2 THEN 1 ELS...
分类:数据库   时间:2014-06-04 21:10:46    阅读次数:513
Valid Number
Validate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:其他好文   时间:2014-06-04 20:54:02    阅读次数:326
Fire Net HDU 1045
简单深搜,可以完全暴力,不会超时的。#include#include#includeusing namespace std;#define MAX(a,b) (a>b?a:b) char maze[10][10];int n, maxn;void DFS(int step,int count);in...
分类:Web程序   时间:2014-06-04 20:43:04    阅读次数:270
NHibernate COUNT(*) 统计问题
NHibernate这个框架用了有一年多了,相对有很大的优势,可以省去很多写Sql的时间。但是如果你想用它做统计,那么有点抱歉,只能手动写写了。它内置的东西很难符合你的需求。我遇到的问题是这样的。我需要统计一个表中根据一个字段分组统计这个每个组的数量。这个Sql很简单表名要用对象名替换,字段也要用对...
分类:系统相关   时间:2014-06-04 19:26:21    阅读次数:315
1452: [JSOI2009]Count - BZOJ
DescriptionInputOutputSample InputSample Output12HINT一开始还想什么离线做,其实不用,空间足够,我们直接开100个二维树状数组,然后就行了但是如果c范围很大就离线做好一些 1 type 2 tree=array[0..300,0..300]...
分类:Web程序   时间:2014-06-03 12:26:54    阅读次数:277
Distinct Subsequences
Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is formed from the orig...
分类:其他好文   时间:2014-05-30 15:58:40    阅读次数:187
在myql sqlserver里边怎么快速找到带有关键字的表
sql server 全部库:declare @i int,@id int,@dbname varchar(255),@sql varchar(255) set @i = 6 set @id=(select count(*) from master..sysdatabases)drop ...
分类:数据库   时间:2014-05-29 22:15:06    阅读次数:310
vim 查看某字符串出现的次数
http://blog.chinaunix.net/uid-23577393-id-1751983.htmlTo count how often any pattern occurs in the current buffer use the substitutecommand and add th...
分类:其他好文   时间:2014-05-29 17:37:03    阅读次数:217
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!