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
心得:这几天一直在研究maven的配置,还真是伤心啊,网上资料不多,而且问题不断.确实很让人头疼背景:之所以学习maven是因为我们需要一键部署,我们项目是已经差不多完成了,是eclipse的web项目,需要将它变成maven项目问题:1.拆分项目为多个模块解决循环依赖如果一个web项目下面有A,B...
分类:
其他好文 时间:
2014-06-04 20:17:39
阅读次数:
224
Implementint sqrt(int x).Compute and return the
square root
ofx.classSolution{public:intsqrt(intx){inti=0;intstep=1;while(step>0){while((i+step)>1);}r...
分类:
其他好文 时间:
2014-06-04 19:54:17
阅读次数:
214
You are climbing a stair case. It takesnsteps
to reach to the top.Each time you can either climb 1 or 2 steps. In how many
distinct ways can you climb...
分类:
其他好文 时间:
2014-06-04 19:53:34
阅读次数:
173
Given an array of strings, return all groups of
strings that are anagrams.Note: All inputs will be in
lower-case.classSolution{public:vectoranagrams(v...
分类:
其他好文 时间:
2014-06-04 19:29:39
阅读次数:
247
一、案例分析Oracle Report Builder
因落伍的技术和糟糕的交互性,特别是无法随心所欲的进行排版,逐渐被淘汰,而BI(XML) Publisher 也是其中的一种替代技术,
此文介绍了如何将Report Builder建立的RDF文件转换成最新的XML Publisher所使用的xm...
分类:
其他好文 时间:
2014-06-04 18:40:23
阅读次数:
254
一. 汇总 1. 建立rdf报表 2. 开发rtf模板 3. 建立可执行程式 4.
建立并发程式 5. 注册data defination 6. 注册template 7. 运行程式 8.
开发程式中间,需将输出模式修改为xml,产生xml文件,以做rtf开发准备原始数据二、分步解析1. 建立rdf...
分类:
其他好文 时间:
2014-06-03 13:55:15
阅读次数:
288
DECLARE @SOInfoList TABLE ( SONumber INT, SODate
datetime, Status char(1) ) INSERT INTO @SOInfoList ( SONumber, SODate, ...
分类:
数据库 时间:
2014-06-03 13:02:04
阅读次数:
295
解决SQL Server管理器无法连接远程数据库Error: 1326错误我们在在使用SQL
Server时都会遇到使用SQL Server Management Studio无法连接远程数据库实例的问题,错误描述信息摘录如下:An error has
occurred while establis...
分类:
数据库 时间:
2014-05-29 20:50:49
阅读次数:
404
http://ubuntuforums.org/archive/index.php/t-1771058.htmlI
accidentally discovered a fix for this while trying to solve a different
problem.edit~/.conf...
分类:
其他好文 时间:
2014-05-29 15:00:26
阅读次数:
623